Borderou de evaluare (job #1287245)

Utilizator PhilipDumitruPhilip Dumitru PhilipDumitru Data 7 decembrie 2014 13:49:17
Problema Spectacole Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &a[i]); ^ user.cpp:51:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &b[i]); ^ user.cpp:97:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d\n", dist[i]); ^ user.cpp:44:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &n, &m); ^ user.cpp:47:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i]); ^ user.cpp:51:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &b[i]); ^ user.cpp:57:77: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d %d", &(temp.sala), &(temp.start), &(temp.finish)); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✗10ms288kbIncorect0
✓24ms788kbIncorect0
✗312ms880kbIncorect0
✗4Depăşit38392kbTime limit exceeded.0
✗5248ms47072kbKilled by signal 11(SIGSEGV).0
✗6372msDepăşitMemory limit exceeded.0
✗7380msDepăşitMemory limit exceeded.0
✓8356msDepăşitMemory limit exceeded.0
✗9356msDepăşitMemory limit exceeded.0
✗10384msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?