Pagini recente » Borderou de evaluare (job #1321239) | Cod sursa (job #1789983) | Borderou de evaluare (job #2322821) | Cod sursa (job #652178) | Borderou de evaluare (job #1320578)
Borderou de evaluare (job #1320578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:19: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%u", &n);
^
user.cpp:16:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%u", &v[i]);
^
user.cpp:26:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=maxl;i++)
^
user.cpp:46:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%u ", v[i]);
^
user.cpp:11: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:12: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:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &n);
^
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 284kb | OK | 5 | 20 |
| 2 | 0ms | 288kb | OK | 5 |
| 3 | 0ms | 288kb | OK | 5 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 296kb | OK | 5 | 20 |
| 6 | 0ms | 300kb | OK | 5 |
| 7 | 0ms | 296kb | OK | 5 |
| 8 | 0ms | 300kb | OK | 5 |
| 9 | 84ms | 1284kb | OK | 5 | 20 |
| 10 | 84ms | 1292kb | OK | 5 |
| 11 | 84ms | 1280kb | OK | 5 |
| 12 | 84ms | 1392kb | OK | 5 |
| 13 | 348ms | 4260kb | OK | 5 | 20 |
| 14 | 348ms | 4272kb | OK | 5 |
| 15 | 348ms | 4260kb | OK | 5 |
| 16 | 344ms | 4696kb | OK | 5 |
| 17 | 496ms | 5868kb | OK | 5 | 20 |
| 18 | 512ms | 5876kb | OK | 5 |
| 19 | 512ms | 5876kb | OK | 5 |
| 20 | 504ms | 6772kb | OK | 5 |
| Punctaj total | 100 |