Pagini recente » Borderou de evaluare (job #130220) | Borderou de evaluare (job #3148971) | Borderou de evaluare (job #1056010) | Borderou de evaluare (job #2525504) | Borderou de evaluare (job #2388363)
Borderou de evaluare (job #2388363)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i + 1; v[i] && j < n; j++) {
~~^~~
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grade.in", "r", stdin);
^
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("grade.out", "w", stdout);
^
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &n);
^
main.cpp:20:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok! | 10 |
2 | 3ms | 131kb | Ok! | 10 |
3 | 5ms | 131kb | Ok! | 10 |
4 | 18ms | 393kb | Ok! | 10 |
5 | 64ms | 1048kb | Ok! | 10 |
6 | 2ms | 131kb | Ok! | 10 |
7 | 9ms | 262kb | Ok! | 10 |
8 | 42ms | 786kb | Ok! | 10 |
9 | 52ms | 917kb | Ok! | 10 |
10 | 51ms | 1048kb | Ok! | 10 |
Punctaj total | 100 |