Borderou de evaluare (job #1297336)

Utilizator maritimCristian Lambru maritim Data 21 decembrie 2014 22:11:55
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:93:9: warning: unused variable ‘currentDist’ [-Wunused-variable] int currentDist = N; ^ user.cpp: In function ‘void citire()’: user.cpp:23:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &N, &M); ^ user.cpp:26:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &A[i]); ^ user.cpp:28:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "\n"); ^ user.cpp: In function ‘void read()’: user.cpp:82:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (S, sizeof(S), f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms284kbOK10
3Depăşit436kbTime limit exceeded.0
4Depăşit280kbTime limit exceeded.0
5124ms980kbOK10
664ms984kbOK10
7Depăşit968kbTime limit exceeded.0
8Depăşit968kbTime limit exceeded.0
9Depăşit972kbTime limit exceeded.0
10Depăşit976kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?