Pagini recente » Borderou de evaluare (job #1038361) | Borderou de evaluare (job #1077399) | Borderou de evaluare (job #1243204) | Borderou de evaluare (job #1232231) | Borderou de evaluare (job #1183955)
Borderou de evaluare (job #1183955)
Raport evaluator
Compilare:
user.cpp: In function ‘int fct(int)’:
user.cpp:12:18: warning: variable ‘z’ set but not used [-Wunused-but-set-variable]
int i, a, s, z;
^
user.cpp: In function ‘int main()’:
user.cpp:30:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "r", stdin);
^
user.cpp:31:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "w", stdout);
^
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &l);
^
user.cpp:35:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | Incorect | 0 |
| 2 | 0ms | 220kb | Incorect | 0 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 252kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 284kb | OK | 10 |
| 7 | 4ms | 300kb | OK | 10 |
| 8 | 4ms | 304kb | OK | 10 |
| 9 | 4ms | 304kb | OK | 10 |
| 10 | 4ms | 300kb | OK | 10 |
| Punctaj total | 80 |