Borderou de evaluare (job #2468919)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:66:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:70:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0;i < dv.size(); i++){
~~^~~~~~~~~~~
main.cpp:62:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrecou.in","r",stdin);
^
main.cpp:63:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrecou.out","w",stdout);
^
main.cpp:66: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 | 3ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | OK | 5 |
| 10 | 3ms | 131kb | OK | 5 |
| 11 | 3ms | 131kb | OK | 5 |
| 12 | 3ms | 131kb | OK | 5 |
| 13 | 3ms | 131kb | OK | 5 |
| 14 | 7ms | 131kb | OK | 5 |
| 15 | 12ms | 131kb | OK | 5 |
| 16 | 36ms | 131kb | OK | 5 |
| 17 | 43ms | 131kb | OK | 5 |
| 18 | 16ms | 131kb | OK | 5 |
| 19 | 43ms | 131kb | OK | 5 |
| 20 | 3ms | 131kb | OK | 5 |
| Punctaj total | 100 |