Pagini recente » Borderou de evaluare (job #620650) | Borderou de evaluare (job #1148156) | Borderou de evaluare (job #1177158) | Borderou de evaluare (job #458637) | Borderou de evaluare (job #2649946)
Borderou de evaluare (job #2649946)
Raport evaluator
Compilare:
main.cpp: In function 'void radixsort(int*, int*, int, int)':
main.cpp:12:6: warning: unused variable 'current_value' [-Wunused-variable]
int current_value;
^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:37:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1; i<n; ++i)
^~~
main.cpp:40:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=0; i<total_bytes; ++i)
^~~
main.cpp:29:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in", "r", stdin);
^
main.cpp:30:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.out", "w", stdout);
^
main.cpp:34:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:35:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 30 |
2 | 21ms | 917kb | OK | 10 |
3 | 198ms | 8650kb | OK | 10 |
4 | 184ms | 8650kb | OK | 10 | 0 |
5 | 1727ms | 87031kb | OK | 10 |
6 | 2000ms | 83230kb | Time limit exceeded | 0 |
7 | 217ms | 9175kb | OK | 10 |
8 | 1950ms | 90570kb | OK | 10 | 0 |
9 | 1971ms | 90046kb | OK | 10 |
10 | 2003ms | 80216kb | Time limit exceeded | 0 |
Punctaj total | 30 |