Borderou de evaluare (job #2328562)

Utilizator Carol_LucaCarol Luca Carol_Luca Data 25 ianuarie 2019 22:06:21
Problema Auto Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int check(int)': main.cpp:12:9: warning: unused variable 'j' [-Wunused-variable] int i, j, t = 1, p = 0, val = 0; ^ main.cpp: In function 'void read_and_solve()': main.cpp:27:9: warning: unused variable 'j' [-Wunused-variable] int i, j, k; long d = 0; ^ main.cpp:27:12: warning: unused variable 'k' [-Wunused-variable] int i, j, k; long d = 0; ^ main.cpp:29:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N), NR = 0; ^ main.cpp:30:62: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i = 1; i <= N; i++) scanf("%d ", &A[i]), d += (long)A[i]; ^ main.cpp: In function 'int main()': main.cpp:43:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("auto.in", "rt", stdin); ^ main.cpp:44:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("auto.out", "wt", stdout); ^ main.cpp:46:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &teste); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
325ms131kbOK10
437ms131kbOK10
534ms131kbOK10
635ms131kbOK10
7153ms262kbTime limit exceeded0
8153ms262kbTime limit exceeded0
9152ms262kbTime limit exceeded0
102ms131kbOK10
Punctaj total70

Ceva nu functioneaza?