Pagini recente » Borderou de evaluare (job #1132181) | Borderou de evaluare (job #269513) | Borderou de evaluare (job #1977318) | Borderou de evaluare (job #2390492) | Borderou de evaluare (job #1632161)
Borderou de evaluare (job #1632161)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split.in", "r", stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split.out", "w", stdout);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:73:58: warning: ‘ansk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n%d %d %d\n", Best, ansi+1, ansj+1, ansk+1);
^
user.cpp:73:58: warning: ‘ansj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:73:58: warning: ‘ansi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:65:115: warning: ‘Bestk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(Bestr+Bestl>Best || (Bestr+Bestl==Best && (Besti<ansi || (Besti == ansi && (j<ansj || (j==ansj && Bestk<ansk))))))
^
user.cpp:65:51: warning: ‘Besti’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(Bestr+Bestl>Best || (Bestr+Bestl==Best && (Besti<ansi || (Besti == ansi && (j<ansj || (j==ansj && Bestk<ansk))))))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Incorect | 0 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 292kb | Incorect | 0 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 44ms | 348kb | Incorect | 0 |
7 | 88ms | 372kb | Incorect | 0 |
8 | 124ms | 372kb | OK | 10 |
9 | 124ms | 368kb | OK | 10 |
10 | 128ms | 368kb | OK | 10 |
Punctaj total | 50 |