Borderou de evaluare (job #2398194)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 5 aprilie 2019 10:08:25
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:64:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100004]' [-Wformat=] scanf ("%s", &s); ^ main.cpp:69:27: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1004]' [-Wformat=] scanf ("%s", &a[i]); ^ main.cpp:61:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("virus.in","r",stdin); ^ main.cpp:62:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("virus.out","w",stdout); ^ main.cpp:63:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &l); ^ main.cpp:64:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &s); ^ main.cpp:68:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &r[i]); ^ main.cpp:69:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms1310kbOK10
215ms1179kbOK10
328ms1310kbOK10
4195ms36831kbOK10
5319ms58982kbOK10
6197ms36438kbOK10
7421ms72613kbOK10
8192ms36962kbOK10
930ms5505kbOK10
1014ms2883kbOK10
Punctaj total100

Ceva nu functioneaza?