Pagini recente » Borderou de evaluare (job #3010121) | Borderou de evaluare (job #2921417) | Borderou de evaluare (job #1234389) | Borderou de evaluare (job #3167046) | Borderou de evaluare (job #1308146)
Borderou de evaluare (job #1308146)
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:46: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:49: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:41: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:42: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:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:46: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 | 0 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 272kb | Incorect | 0 | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 276kb | Incorect | 0 |
| 8 | 0ms | 276kb | Incorect | 0 |
| 9 | 60ms | 1040kb | Incorect | 0 | 0 |
| 10 | 56ms | 1048kb | Incorect | 0 |
| 11 | 60ms | 1044kb | Incorect | 0 |
| 12 | 60ms | 1040kb | Incorect | 0 |
| 13 | 220ms | 2996kb | Incorect | 0 | 0 |
| 14 | 204ms | 3000kb | Incorect | 0 |
| 15 | 204ms | 2996kb | Incorect | 0 |
| 16 | 208ms | 2988kb | Incorect | 0 |
| 17 | 308ms | 4176kb | Incorect | 0 | 0 |
| 18 | 296ms | 4164kb | Incorect | 0 |
| 19 | 292ms | 4164kb | Incorect | 0 |
| 20 | 308ms | 4144kb | Incorect | 0 |
| Punctaj total | 0 |