Pagini recente » Cod sursa (job #1237111) | Borderou de evaluare (job #1782456) | Borderou de evaluare (job #2589714) | Borderou de evaluare (job #480029) | Borderou de evaluare (job #1521884)
Borderou de evaluare (job #1521884)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nod);
^
user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &apa[nod]);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nod);
^
user.cpp:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &energ[nod]);
^
user.cpp: In function ‘int main()’:
user.cpp:54:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.in", "r", stdin);
^
user.cpp:55:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 460kb | OK | 5 |
| 2 | 0ms | 460kb | OK | 5 |
| 3 | 0ms | 456kb | OK | 5 |
| 4 | 0ms | 456kb | OK | 5 |
| 5 | 0ms | 460kb | OK | 5 |
| 6 | 0ms | 460kb | OK | 5 |
| 7 | 0ms | 456kb | OK | 5 |
| 8 | 0ms | 460kb | OK | 5 |
| 9 | 0ms | 460kb | OK | 5 |
| 10 | 0ms | 464kb | OK | 5 |
| 11 | 0ms | 456kb | OK | 5 |
| 12 | 0ms | 460kb | OK | 5 |
| 13 | 0ms | 456kb | OK | 5 |
| 14 | 0ms | 464kb | OK | 5 |
| 15 | 0ms | 464kb | OK | 5 |
| 16 | 0ms | 468kb | OK | 5 |
| 17 | 0ms | 464kb | OK | 5 |
| 18 | 0ms | 464kb | OK | 5 |
| 19 | 0ms | 468kb | OK | 5 |
| 20 | 0ms | 468kb | OK | 5 |
| Punctaj total | 100 |