Pagini recente » Borderou de evaluare (job #2958700) | Borderou de evaluare (job #436601) | Borderou de evaluare (job #1446113) | Borderou de evaluare (job #2391930) | Borderou de evaluare (job #1914070)
Borderou de evaluare (job #1914070)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:27:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (OK)
^
user.cpp: In function ‘int main()’:
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pm2.in", "r", stdin);
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pm2.out", "w", stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:40:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &val[i]);
^
user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &m);
^
user.cpp:52:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 10 |
2 | 0ms | 276kb | OK! | 10 |
3 | 0ms | 284kb | OK! | 10 |
4 | 0ms | 276kb | OK! | 10 |
5 | 0ms | 356kb | OK! | 10 |
6 | 0ms | 356kb | OK! | 10 |
7 | 0ms | 280kb | OK! | 10 |
8 | 0ms | 284kb | OK! | 10 |
9 | 0ms | 292kb | OK! | 10 |
10 | 0ms | 272kb | OK! | 10 |
Punctaj total | 100 |