Pagini recente » Borderou de evaluare (job #2392949) | Borderou de evaluare (job #1043009) | Borderou de evaluare (job #2480845) | Borderou de evaluare (job #2472868) | Borderou de evaluare (job #1301247)
Borderou de evaluare (job #1301247)
Raport evaluator
Compilare:
user.cpp: In function ‘void left(int)’:
user.cpp:28:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (v[dqmax[botmax]] - v[dqmin[botmin]] > k)
^
user.cpp: In function ‘int main()’:
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secvdist.in", "r", stdin);
^
user.cpp:44:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("secvdist.out", "w", stdout);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &k);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 8ms | 424kb | Incorect | 0 |
5 | 24ms | 820kb | Incorect | 0 |
6 | 60ms | 1500kb | Incorect | 0 |
7 | 264ms | 4588kb | Incorect | 0 |
8 | 272ms | 5056kb | Incorect | 0 |
9 | 348ms | 5544kb | Incorect | 0 |
10 | 328ms | 5628kb | Incorect | 0 |
Punctaj total | 10 |