Pagini recente » Borderou de evaluare (job #1137047) | Borderou de evaluare (job #1025469) | Borderou de evaluare (job #1005088) | Borderou de evaluare (job #165775) | Borderou de evaluare (job #1719595)
Borderou de evaluare (job #1719595)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:57:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",a[i]);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate2.in", "r", stdin);
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate2.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 0ms | 256kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 4ms | 276kb | OK | 10 |
| 8 | 12ms | 276kb | OK | 10 |
| 9 | 24ms | 284kb | OK | 10 |
| 10 | 60ms | 304kb | OK | 10 |
| Punctaj total | 100 |