Pagini recente » Borderou de evaluare (job #2365185) | Borderou de evaluare (job #826838) | Borderou de evaluare (job #1130991) | Borderou de evaluare (job #578533) | Borderou de evaluare (job #1632168)
Borderou de evaluare (job #1632168)
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 | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 300kb | OK | 10 |
6 | 48ms | 356kb | OK | 10 |
7 | 88ms | 376kb | OK | 10 |
8 | 124ms | 372kb | OK | 10 |
9 | 128ms | 368kb | OK | 10 |
10 | 128ms | 376kb | OK | 10 |
Punctaj total | 100 |