Pagini recente » Borderou de evaluare (job #446209) | Borderou de evaluare (job #519241) | Borderou de evaluare (job #2534942) | Borderou de evaluare (job #2798795) | Borderou de evaluare (job #1493872)
Borderou de evaluare (job #1493872)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[500010]’ [-Wformat=]
scanf("%d\n%s",&n,&s);
^
user.cpp:31:9: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[0]=NULL;
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s",&n,&s);
^
user.cpp:47:24: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((sol&(1<<i))==0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1332kb | OK! | 10 |
2 | 0ms | 1332kb | OK! | 10 |
3 | 0ms | 1336kb | OK! | 10 |
4 | 0ms | 1360kb | OK! | 10 |
5 | 12ms | 1824kb | OK! | 10 |
6 | 8ms | 1540kb | OK! | 10 |
7 | 12ms | 1676kb | OK! | 10 |
8 | 16ms | 1828kb | OK! | 10 |
9 | 4ms | 1472kb | OK! | 10 |
10 | 8ms | 1596kb | OK! | 10 |
Punctaj total | 100 |