Borderou de evaluare (job #1493566)

Utilizator GinguIonutGinguIonut GinguIonut Data 29 septembrie 2015 17:23:32
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000005]’ [-Wformat=] scanf("%s", &line); ^ user.cpp:27:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[22]’ [-Wformat=] while(scanf("%s", &cuv)==1) ^ user.cpp:51:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", sol); ^ user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in", "r", stdin); ^ user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out", "w", stdout); ^ user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &line); ^ user.cpp:26:9: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] int nmax; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms11992kbOK100
216ms11996kbOK10
316ms12024kbOK10
420ms12108kbOK10
560ms12424kbOK10
6200ms13444kbOK10
7Depăşit17648kbTime limit exceeded.0
8Depăşit22500kbTime limit exceeded.0
9Depăşit22500kbTime limit exceeded.0
10Depăşit22508kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?