Pagini recente » Cod sursa (job #2437992) | Borderou de evaluare (job #1882679) | Borderou de evaluare (job #1275368) | Borderou de evaluare (job #619108) | Borderou de evaluare (job #1288408)
Borderou de evaluare (job #1288408)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]), prezent[v[i]]=1;
^
user.cpp:51:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.in", "rt", stdin);
^
user.cpp:52:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.out", "wt", stdout);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:56:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]), prezent[v[i]]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 868kb | OK | 10 |
| 2 | 0ms | 864kb | OK | 10 |
| 3 | 28ms | 2540kb | OK | 10 |
| 4 | 8ms | 3348kb | OK | 10 |
| 5 | 8ms | 1636kb | OK | 10 |
| 6 | 104ms | 3824kb | OK | 10 |
| 7 | 76ms | 4268kb | OK | 10 |
| 8 | 76ms | 4716kb | OK | 10 |
| 9 | 540ms | 4996kb | OK | 10 |
| 10 | 532ms | 4468kb | OK | 10 |
| Punctaj total | 100 |