Pagini recente » Borderou de evaluare (job #2243520) | Borderou de evaluare (job #191922) | Borderou de evaluare (job #2830405) | Borderou de evaluare (job #2329382) | Borderou de evaluare (job #1632132)
Borderou de evaluare (job #1632132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13: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:14: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:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:72: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:72:58: warning: ‘ansj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:72:58: warning: ‘ansi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:64: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:64: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 | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 96ms | 316kb | OK | 10 |
7 | 180ms | 336kb | OK | 10 |
8 | Depăşit | 304kb | Time limit exceeded. | 0 |
9 | Depăşit | 300kb | Time limit exceeded. | 0 |
10 | Depăşit | 304kb | Time limit exceeded. | 0 |
Punctaj total | 70 |