Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Cod sursa (job #96883) | Cod sursa (job #429040) | Borderou de evaluare (job #2752753)
Borderou de evaluare (job #2752753)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("permsort2.in","r",stdin);
^
main.cpp:8:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("permsort2.out","w",stdout);
^
main.cpp:9:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:10:47: 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),p[x]=i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 37ms | 1175kb | OK | 10 |
| 3 | 52ms | 1826kb | OK | 10 |
| 4 | 61ms | 1826kb | OK | 10 |
| 5 | 63ms | 1826kb | OK | 10 |
| 6 | 60ms | 1826kb | OK | 10 |
| 7 | 131ms | 3395kb | OK | 10 |
| 8 | 118ms | 3395kb | OK | 10 |
| 9 | 119ms | 3395kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |