Pagini recente » Borderou de evaluare (job #2571838) | Borderou de evaluare (job #751436) | Borderou de evaluare (job #859774) | Borderou de evaluare (job #1751885) | Borderou de evaluare (job #2533539)
Borderou de evaluare (job #2533539)
Raport evaluator
Compilare:
main.cpp: In function 'bool exista_k(int)':
main.cpp:21:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr>=k)
~~^~~
main.cpp: In function 'int main()':
main.cpp:36:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
main.cpp:39:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 131kb | OK | 10 |
5 | 19ms | 262kb | OK | 10 |
6 | 27ms | 262kb | OK | 10 |
7 | 33ms | 262kb | OK | 10 |
8 | 39ms | 393kb | OK | 10 |
9 | 40ms | 393kb | OK | 10 |
10 | 33ms | 262kb | OK | 10 |
Punctaj total | 100 |