Borderou de evaluare (job #2316826)

Utilizator cameliapatileaPatilea Catalina Camelia cameliapatilea Data 12 ianuarie 2019 14:36:32
Problema Tablete Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:76:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(f, "%d%d", &n, &k); ^ main.cpp:76:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:87:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] fprintf(g, "%d ", matrice[i][j]); ^ main.cpp:76:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d%d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms393kbSolutie gresita0
325ms8126kbKilled by Signal 110
426ms8257kbKilled by Signal 110
524ms8519kbKilled by Signal 110
634ms8126kbKilled by Signal 110
720ms8126kbKilled by Signal 110
821ms8519kbKilled by Signal 110
923ms8257kbKilled by Signal 110
1027ms9175kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?