Borderou de evaluare (job #1518843)

Utilizator ipus1Stefan Enescu ipus1 Data 6 noiembrie 2015 15:17:43
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:12:14: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=] scanf("%s",&v); ^ user.cpp:15:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=] while(scanf("%s",&v2)!=EOF) ^ user.cpp:8:31: 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:9:32: 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:12:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&v); ^ user.cpp:10:9: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] int n,i,k,p,c1,c2,l,s=0,p4; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK100
20ms264kbOK10
30ms288kbOK10
44ms340kbOK10
520ms584kbIncorect0
6112ms1484kbIncorect0
7516ms5540kbIncorect0
8Depăşit10384kbTime limit exceeded.0
9Depăşit10388kbTime limit exceeded.0
10Depăşit10392kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?