Pagini recente » Borderou de evaluare (job #157207) | Borderou de evaluare (job #1232381) | Borderou de evaluare (job #457607) | Borderou de evaluare (job #2443797) | Borderou de evaluare (job #1654630)
Borderou de evaluare (job #1654630)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:82:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (grad [i] == 1)
^
user.cpp: In function ‘void read()’:
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &d);
^
user.cpp: In function ‘int main()’:
user.cpp:93:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("copsamica.in", "r", stdin);
^
user.cpp:94:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("copsamica.out", "w", stdout);
^
user.cpp:96:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 4ms | 328kb | OK! | 10 |
4 | 4ms | 324kb | OK! | 10 |
5 | 176ms | 1732kb | OK! | 10 |
6 | 180ms | 1728kb | OK! | 10 |
7 | 748ms | 6128kb | OK! | 10 |
8 | 756ms | 6128kb | OK! | 10 |
9 | 760ms | 6128kb | OK! | 10 |
10 | 768ms | 6120kb | OK! | 10 |
Punctaj total | 100 |