Borderou de evaluare (job #2426924)

Utilizator Alex62493Manghiuc Alexandru Alex62493 Data 30 mai 2019 08:44:32
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(fin, "%d%d", &n, &m); ^ main.cpp:46:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:61:39: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(fin, "%d%d", &t, &v); ^ main.cpp:61:39: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:66:39: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(fin, "%d%d", &p, &q); ^ main.cpp:66:39: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:46:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ main.cpp:51:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^ main.cpp:58:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^ main.cpp:61:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &t, &v); ^ main.cpp:66:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &p, &q); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms393kbKilled by Signal 110
210ms393kbKilled by Signal 110
38ms393kbKilled by Signal 110
4152ms65552kbTime limit exceeded0
510ms393kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?