/ Vijos /

记录详情

Time Exceeded

In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8,
    inlined from 'int main()' at /in/foo.cc:92:20:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'int main()' at /in/foo.cc:92:20:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'int main()' at /in/foo.cc:92:20:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In function 'void print()',
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:66:8,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'void topological_sort(int, int)' at /in/foo.cc:73:20,
    inlined from 'int main()' at /in/foo.cc:92:20:
/in/foo.cc:51:9: warning: 'void* memcpy(void*, const void*, size_t)' writing 400005 bytes into a region of size 400004 overflows the destination [-Wstringop-overflow=]
   memcpy(num,num2,sizeof(num)+1);
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 2.684 MiB
#2 Accepted 3ms 2.562 MiB
#3 Accepted 2ms 2.684 MiB
#4 Time Exceeded ≥1006ms ≥2.812 MiB
#5 Time Exceeded ≥1006ms ≥2.809 MiB
#6 Time Exceeded ≥1006ms ≥2.438 MiB
#7 Time Exceeded ≥1007ms ≥2.812 MiB
#8 Time Exceeded ≥1005ms ≥3.809 MiB
#9 Time Exceeded ≥1004ms ≥4.438 MiB
#10 Time Exceeded ≥1003ms ≥3.773 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2017-09-13 17:20:27
评测时间
2017-09-13 17:20:28
评测机
分数
30
总耗时
≥7050ms
峰值内存
≥4.438 MiB