Pagini recente » Borderou de evaluare (job #1407090) | Borderou de evaluare (job #1276801) | Borderou de evaluare (job #2696618) | Borderou de evaluare (job #262858) | Borderou de evaluare (job #1652890)
Borderou de evaluare (job #1652890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14: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:15: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:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:19:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) { scanf("%d",&x); sum=sum+x; }
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:30:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); csum=csum+x;
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x); csum=csum+x;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 244kb | Incorect | 0 |
| 5 | 4ms | 268kb | OK | 10 |
| 6 | 4ms | 268kb | OK | 10 |
| 7 | 60ms | 272kb | OK | 10 |
| 8 | 120ms | 268kb | OK | 10 |
| 9 | 56ms | 264kb | OK | 10 |
| 10 | 16ms | 248kb | OK | 10 |
| Punctaj total | 90 |