Pagini recente » Borderou de evaluare (job #1364841) | Borderou de evaluare (job #2434015) | Borderou de evaluare (job #3211800) | Borderou de evaluare (job #1728256) | Borderou de evaluare (job #1301121)
Borderou de evaluare (job #1301121)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aranjare2.in", "r", stdin);
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aranjare2.out", "w", stdout);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &a[1].v); a[1].p = 1;
^
user.cpp:18:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].v), a[i].p = a[i-1].p+2;
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[n+1].v); a[n+1].p = 2;
^
user.cpp:21:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i].v), a[i].p = a[i-1].p+2;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK | 5 |
| 2 | 0ms | 240kb | OK | 5 |
| 3 | 0ms | 248kb | OK | 5 |
| 4 | 0ms | 244kb | OK | 5 |
| 5 | 0ms | 248kb | OK | 5 |
| 6 | 0ms | 248kb | OK | 5 |
| 7 | 0ms | 248kb | OK | 5 |
| 8 | 0ms | 252kb | OK | 5 |
| 9 | 0ms | 252kb | OK | 5 |
| 10 | 0ms | 252kb | OK | 5 |
| 11 | 0ms | 256kb | OK | 5 |
| 12 | 0ms | 256kb | OK | 5 |
| 13 | 0ms | 256kb | OK | 5 |
| 14 | 0ms | 256kb | OK | 5 |
| 15 | 16ms | 444kb | OK | 5 |
| 16 | 48ms | 728kb | OK | 5 |
| 17 | 24ms | 1000kb | Wall time limit exceeded. | 0 |
| 18 | 24ms | 1004kb | Wall time limit exceeded. | 0 |
| 19 | 24ms | 1004kb | Wall time limit exceeded. | 0 |
| 20 | 24ms | 1004kb | Wall time limit exceeded. | 0 |
| Punctaj total | 80 |