Borderou de evaluare (job #1568319)

Utilizator abccnuCamelia Zalum abccnu Data 14 ianuarie 2016 08:58:30
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100000]’ [-Wformat=] fscanf(f, "%s", &v); ^ user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1; i<strlen(v)-1; i+=2) ^ user.cpp:30:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=1; i<strlen(v)-1; ++i) ^ user.cpp:12:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d",&p); ^ user.cpp:13:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%c",&ch); ^ user.cpp:14:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%s", &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbIncorect0
20ms440kbIncorect0
30ms444kbIncorect0
4Depăşit460kbTime limit exceeded.0
5Depăşit504kbTime limit exceeded.0
60ms448kbIncorect0
70ms452kbIncorect0
80ms452kbIncorect0
964ms456kbIncorect0
10Depăşit440kbTime limit exceeded.0
11Depăşit496kbTime limit exceeded.0
12Depăşit472kbTime limit exceeded.0
13Depăşit488kbTime limit exceeded.0
14Depăşit496kbTime limit exceeded.0
15Depăşit460kbTime limit exceeded.0
16Depăşit484kbTime limit exceeded.0
17Depăşit488kbTime limit exceeded.0
18Depăşit504kbTime limit exceeded.0
19Depăşit504kbTime limit exceeded.0
200ms452kbOK5
Punctaj total5

Ceva nu functioneaza?