Pagini recente » Borderou de evaluare (job #599619) | Borderou de evaluare (job #2288852) | Borderou de evaluare (job #1094989) | Borderou de evaluare (job #264290) | Borderou de evaluare (job #1767472)
Borderou de evaluare (job #1767472)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum[y]-sum[x-1]);
^
user.cpp:39:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d\n",sum[y]);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsubsecv.in","r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsubsecv.out","w",stdout);
^
user.cpp:12: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:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
st[i]=1,dr[i]=n;
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 452kb | OK | 5 | 5 |
| 2 | 0ms | 536kb | OK | 5 | 5 |
| 3 | 104ms | 8260kb | OK | 5 | 5 |
| 4 | 92ms | 8268kb | OK | 5 | 5 |
| 5 | 144ms | 9424kb | Incorect | 0 | 0 |
| 6 | 144ms | 9428kb | Incorect | 0 | 0 |
| 7 | 292ms | 14112kb | Incorect | 0 | 0 |
| 8 | 424ms | 17628kb | Incorect | 0 | 0 |
| 9 | 400ms | 17632kb | Incorect | 0 | 0 |
| 10 | 284ms | 14380kb | Incorect | 0 |
| 11 | 388ms | 16460kb | Incorect | 0 | 0 |
| 12 | 356ms | 17276kb | Incorect | 0 |
| 13 | 464ms | 18812kb | Incorect | 0 | 0 |
| 14 | 400ms | 19132kb | Incorect | 0 |
| 15 | 500ms | 19968kb | Incorect | 0 | 0 |
| 16 | 420ms | 20184kb | Incorect | 0 |
| 17 | 508ms | 19968kb | Incorect | 0 | 0 |
| 18 | 428ms | 20260kb | Incorect | 0 |
| 19 | 476ms | 19976kb | Incorect | 0 | 0 |
| 20 | 424ms | 20276kb | Incorect | 0 |
| Punctaj total | 20 |