Pagini recente » Borderou de evaluare (job #1329139) | Borderou de evaluare (job #2347093) | Borderou de evaluare (job #2280531) | Borderou de evaluare (job #1842684) | Borderou de evaluare (job #1530189)
Borderou de evaluare (job #1530189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:11:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x), s = s + x;
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 432kb | OK | 10 |
| 5 | 4ms | 452kb | OK | 10 |
| 6 | 4ms | 448kb | OK | 10 |
| 7 | 40ms | 444kb | OK | 10 |
| 8 | 92ms | 448kb | OK | 10 |
| 9 | 36ms | 452kb | OK | 10 |
| 10 | 16ms | 440kb | OK | 10 |
| Punctaj total | 100 |