Borderou de evaluare (job #1982231)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 17 mai 2017 22:43:05
Problema Popeala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 17

Raport evaluator

Compilare: user.cpp: In function ‘void ReadInput()’: user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &T, &S); ^ user.cpp:28:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= T; i++) {scanf("%d", &points[i]); total_sum += N * points[i]; sum_points[i] = sum_points[i - 1] + points[i]; } ^ user.cpp:29:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= N; i++) scanf("%s", result[i] + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbCorect (Exemplu)00
20ms488kbCorect.88
3736ms800kbCorect.39
4696ms788kbCorect.3
5728ms800kbCorect.3
6Depăşit692kbTime limit exceeded.00
7Depăşit716kbTime limit exceeded.0
8Depăşit756kbTime limit exceeded.0
9Depăşit860kbTime limit exceeded.00
10Depăşit968kbTime limit exceeded.0
11Depăşit1376kbTime limit exceeded.00
12Depăşit1412kbTime limit exceeded.0
13Depăşit1416kbTime limit exceeded.0
14Depăşit1416kbTime limit exceeded.0
15Depăşit1416kbTime limit exceeded.0
Punctaj total17

Ceva nu functioneaza?