Pagini recente » Borderou de evaluare (job #3118883) | Borderou de evaluare (job #2618822) | Borderou de evaluare (job #745721) | Cod sursa (job #16732) | Borderou de evaluare (job #1288413)
Borderou de evaluare (job #1288413)
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 | 872kb | OK | 10 |
| 3 | 28ms | 2544kb | OK | 10 |
| 4 | 8ms | 3348kb | OK | 10 |
| 5 | 8ms | 1640kb | OK | 10 |
| 6 | 108ms | 3820kb | OK | 10 |
| 7 | 80ms | 4272kb | OK | 10 |
| 8 | 76ms | 4720kb | OK | 10 |
| 9 | 536ms | 4996kb | OK | 10 |
| 10 | 532ms | 4468kb | OK | 10 |
| Punctaj total | 100 |