Pagini recente » Borderou de evaluare (job #1564636) | Borderou de evaluare (job #3147881) | Cod sursa (job #2799905) | Borderou de evaluare (job #2013447) | Borderou de evaluare (job #1415784)
Borderou de evaluare (job #1415784)
Raport evaluator
Compilare:
user.cpp: In function ‘void df1(int)’:
user.cpp:13:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<g[x].size();++i)
^
user.cpp: In function ‘void df2(int)’:
user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<tr[x].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:46:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<el.size();++i)
^
user.cpp:47:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka long int}’ [-Wformat=]
printf("%d ",el[i]);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("drumuri5.in","r",stdin);
^
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("drumuri5.out","w",stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3776kb | OK | 5 |
2 | 4ms | 3780kb | OK | 5 |
3 | 4ms | 3784kb | OK | 5 |
4 | 4ms | 3784kb | OK | 5 |
5 | 4ms | 3792kb | OK | 5 |
6 | 4ms | 3784kb | OK | 5 |
7 | 16ms | 3812kb | Incorect | 0 |
8 | 8ms | 3800kb | OK | 5 |
9 | 12ms | 3812kb | OK | 5 |
10 | 40ms | 3828kb | Incorect | 0 |
11 | Depăşit | 4480kb | Time limit exceeded. | 0 |
12 | Depăşit | 4464kb | Time limit exceeded. | 0 |
13 | Depăşit | 5564kb | Time limit exceeded. | 0 |
14 | Depăşit | 5624kb | Time limit exceeded. | 0 |
15 | Depăşit | 6148kb | Time limit exceeded. | 0 |
16 | Depăşit | 6200kb | Time limit exceeded. | 0 |
17 | Depăşit | 8772kb | Time limit exceeded. | 0 |
18 | Depăşit | 7840kb | Time limit exceeded. | 0 |
19 | Depăşit | 8560kb | Time limit exceeded. | 0 |
20 | Depăşit | 9932kb | Time limit exceeded. | 0 |
Punctaj total | 40 |