Borderou de evaluare (job #2334415)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 2 februarie 2019 16:49:02
Problema Ec Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:79:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100]' [-Wformat=] scanf ("%s", &s); ^ main.cpp:100:11: warning: unused variable 'chestie' [-Wunused-variable] int chestie = read (); ^~~~~~~ main.cpp:70:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("ec.in", "r", stdin); ^ main.cpp:71:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("ec.out", "w", stdout); ^ main.cpp:72:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &m); ^ main.cpp:74:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ main.cpp:79:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
43ms131kbOK10
525ms655kbOK10
63ms131kbKilled by Signal 80
778ms917kbOK10
8119ms917kbOK10
99ms393kbOK10
109ms393kbOK10
Punctaj total90

Ceva nu functioneaza?