Pagini recente » Borderou de evaluare (job #418738) | Borderou de evaluare (job #2147296) | Borderou de evaluare (job #720312) | Borderou de evaluare (job #2960287) | Borderou de evaluare (job #1844764)
Borderou de evaluare (job #1844764)
Raport evaluator
Compilare:
user.cpp: In function ‘int cmp_(char*, char*)’:
user.cpp:19:18: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:19:32: warning: NULL used in arithmetic [-Wpointer-arith]
while( a[i]!=NULL && b[i]!=NULL && a[i]==b[i] )
^
user.cpp:22:15: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]!=NULL )
^
user.cpp:22:29: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]!=NULL )
^
user.cpp:25:19: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]!=NULL && b[i]==NULL )
^
user.cpp:25:33: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]!=NULL && b[i]==NULL )
^
user.cpp:28:23: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp:28:37: warning: NULL used in arithmetic [-Wpointer-arith]
if( a[i]==NULL && b[i]==NULL )
^
user.cpp: In function ‘int main()’:
user.cpp:86:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=]
scanf( "\n%s", &v[i].cuv );
^
user.cpp:71:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "zimeria.in", "r", stdin );
^
user.cpp:72:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "zimeria.out", "w", stdout );
^
user.cpp:77:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d\n", &p, &n );
^
user.cpp:86:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "\n%s", &v[i].cuv );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 40ms | 568kb | OK | 5 |
4 | 80ms | 860kb | OK | 5 |
5 | 168ms | 1448kb | OK | 5 |
6 | Depăşit | 2584kb | Time limit exceeded. | 0 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 280kb | OK | 5 |
9 | 0ms | 284kb | OK | 5 |
10 | 4ms | 296kb | OK | 5 |
11 | 8ms | 328kb | OK | 5 |
12 | 16ms | 392kb | OK | 5 |
13 | 36ms | 504kb | OK | 5 |
14 | 76ms | 736kb | OK | 5 |
15 | 96ms | 852kb | OK | 5 |
16 | 152ms | 1152kb | OK | 5 |
17 | 196ms | 1440kb | OK | 5 |
18 | 260ms | 1740kb | OK | 5 |
19 | Depăşit | 2144kb | Time limit exceeded. | 0 |
20 | Depăşit | 2580kb | Time limit exceeded. | 0 |
Punctaj total | 85 |