Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Cod sursa (job #259729) | Cod sursa (job #798557) | Borderou de evaluare (job #1327961)
Borderou de evaluare (job #1327961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=m;i++) scanf("%d",&a);
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.in", "r", stdin);
^
user.cpp:12:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutare2.out", "w", stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:14:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++) scanf("%d",&a);
^
user.cpp:15:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2;i<=n;i++) scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 0ms | 308kb | OK | 10 |
| 4 | 0ms | 404kb | OK | 10 |
| 5 | 8ms | 516kb | OK | 10 |
| 6 | 44ms | 2400kb | OK | 10 |
| 7 | 48ms | 2396kb | OK | 10 |
| 8 | 56ms | 2392kb | OK | 10 |
| 9 | 60ms | 2624kb | OK | 10 |
| 10 | 72ms | 2620kb | OK | 10 |
| Punctaj total | 100 |