Pagini recente » Borderou de evaluare (job #2236197) | Borderou de evaluare (job #2216838) | Borderou de evaluare (job #1581414) | Borderou de evaluare (job #2560910) | Borderou de evaluare (job #1283511)
Borderou de evaluare (job #1283511)
Raport evaluator
Compilare:
user.cpp: In function ‘int nth_element(int, int)’:
user.cpp:54:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(arr[ i ] < p) i++;
^
user.cpp:56:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(arr[ j ] > p) j--;
^
user.cpp:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j >= k) return nth_element(li, j);
^
user.cpp: In function ‘void read()’:
user.cpp:22:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:26:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; i++) scanf("%d", &arr[ i ]);
^
user.cpp: In function ‘int main()’:
user.cpp:76:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 28ms | 640kb | OK | 10 | 10 |
3 | 16ms | 528kb | OK | 10 | 10 |
4 | 24ms | 564kb | OK | 10 | 10 |
5 | 52ms | 840kb | OK | 10 | 10 |
6 | 780ms | 10016kb | OK | 10 | 10 |
7 | 780ms | 10016kb | OK | 10 | 10 |
8 | 780ms | 10016kb | OK | 10 | 30 |
9 | 852ms | 11192kb | OK | 10 |
10 | 944ms | 11964kb | OK | 10 |
Punctaj total | 100 |