Pagini recente » Borderou de evaluare (job #2472106) | Borderou de evaluare (job #1324921) | Borderou de evaluare (job #1725254) | Borderou de evaluare (job #2159310) | Borderou de evaluare (job #1308158)
Borderou de evaluare (job #1308158)
Raport evaluator
Compilare:
user.cpp: In function ‘void quick(int, int, int)’:
user.cpp:14:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]<x)
^
user.cpp:19:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]>x)
^
user.cpp:24:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(m[i]==x)
^
user.cpp: In function ‘int main()’:
user.cpp:47:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%u ", &m[i]);
^
user.cpp:50:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%u ", m[i]);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in", "r", stdin);
^
user.cpp:43:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out", "w", stdout);
^
user.cpp:44:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u ", &m[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 5 | 20 |
| 2 | 0ms | 260kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 272kb | OK | 5 | 20 |
| 6 | 0ms | 272kb | OK | 5 |
| 7 | 0ms | 272kb | OK | 5 |
| 8 | 0ms | 276kb | OK | 5 |
| 9 | 76ms | 1044kb | OK | 5 | 20 |
| 10 | 68ms | 1044kb | OK | 5 |
| 11 | 68ms | 1040kb | OK | 5 |
| 12 | 64ms | 1188kb | OK | 5 |
| 13 | 288ms | 2996kb | OK | 5 | 20 |
| 14 | 244ms | 3000kb | OK | 5 |
| 15 | 244ms | 3000kb | OK | 5 |
| 16 | 224ms | 2984kb | OK | 5 |
| 17 | 420ms | 4168kb | OK | 5 | 20 |
| 18 | 364ms | 4164kb | OK | 5 |
| 19 | 352ms | 4168kb | OK | 5 |
| 20 | 320ms | 4140kb | OK | 5 |
| Punctaj total | 100 |