Pagini recente » Borderou de evaluare (job #1843433) | Borderou de evaluare (job #333106) | Borderou de evaluare (job #959057) | Borderou de evaluare (job #2677359) | Borderou de evaluare (job #2671626)
Borderou de evaluare (job #2671626)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:26: 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;
^
main.cpp:46: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);
^
main.cpp:47: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);
^
main.cpp:49:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:51:44: 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 | 5ms | 1310kb | OK | 10 |
| 2 | 4ms | 1310kb | OK | 10 |
| 3 | 33ms | 3145kb | OK | 10 |
| 4 | 14ms | 3932kb | OK | 10 |
| 5 | 18ms | 2260kb | OK | 10 |
| 6 | 111ms | 4587kb | OK | 10 |
| 7 | 96ms | 5242kb | OK | 10 |
| 8 | 100ms | 5898kb | OK | 10 |
| 9 | 539ms | 6029kb | OK | 10 |
| 10 | 513ms | 5390kb | OK | 10 |
| Punctaj total | 100 |