Pagini recente » Cod sursa (job #2947765) | Cod sursa (job #744890) | Cod sursa (job #672101) | Cod sursa (job #463260) | Borderou de evaluare (job #1959788)
Borderou de evaluare (job #1959788)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti3.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti3.out","w",stdout);
^
user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&op,&n);
^
user.cpp:10:49: 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",&v[LMAX+i]);
^
user.cpp:14:23: 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 | 436kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 440kb | OK | 10 |
| 4 | 4ms | 468kb | OK | 10 |
| 5 | 52ms | 784kb | OK | 10 |
| 6 | 48ms | 796kb | OK | 10 |
| 7 | 100ms | 1148kb | OK | 10 |
| 8 | 96ms | 1152kb | OK | 10 |
| 9 | 252ms | 2220kb | OK | 10 |
| 10 | 224ms | 2216kb | OK | 10 |
| Punctaj total | 100 |