Pagini recente » Borderou de evaluare (job #3145067) | Borderou de evaluare (job #2469991) | Borderou de evaluare (job #2988360) | Borderou de evaluare (job #2476566) | Borderou de evaluare (job #1372444)
Borderou de evaluare (job #1372444)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ausoara.in","r",stdin);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ausoara.out","w",stdout);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
user.cpp:22:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;i++) scanf("%ld",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 512kb | OK | 10 |
| 2 | 0ms | 520kb | OK | 10 |
| 3 | 4ms | 520kb | OK | 10 |
| 4 | 4ms | 524kb | OK | 10 |
| 5 | 4ms | 520kb | OK | 10 |
| 6 | 4ms | 524kb | OK | 10 |
| 7 | 12ms | 528kb | OK | 10 |
| 8 | 16ms | 528kb | OK | 10 |
| 9 | 20ms | 528kb | OK | 10 |
| 10 | 40ms | 8252kb | OK | 10 |
| Punctaj total | 100 |