Borderou de evaluare (job #2514065)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < n; i++)
~~^~~
main.cpp:27:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < n; i++)
~~^~~
main.cpp:10:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
main.cpp:11:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Raspuns corect. | 10 | 100 |
2 | 5ms | 131kb | Raspuns corect. | 10 |
3 | 6ms | 131kb | Raspuns corect. | 10 |
4 | 20ms | 212kb | Raspuns corect. | 10 |
5 | 20ms | 172kb | Raspuns corect. | 10 |
6 | 25ms | 393kb | Raspuns corect. | 10 |
7 | 37ms | 393kb | Raspuns corect. | 10 |
8 | 62ms | 491kb | Raspuns corect. | 10 |
9 | 44ms | 524kb | Raspuns corect. | 10 |
10 | 39ms | 524kb | Raspuns corect. | 10 |
Punctaj total | 100 |