Pagini recente » Borderou de evaluare (job #2377115) | Borderou de evaluare (job #982361) | Borderou de evaluare (job #3124239) | Borderou de evaluare (job #1287554) | Borderou de evaluare (job #1320577)
Borderou de evaluare (job #1320577)
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:14:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;i++)
^
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:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<=n;j++)
^
user.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(u=1;u<=m[k][0];u++)
^
user.cpp:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;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 | Incorect | 0 | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 284kb | OK | 5 |
5 | 0ms | 296kb | OK | 5 | 20 |
6 | 0ms | 296kb | OK | 5 |
7 | 0ms | 296kb | OK | 5 |
8 | 0ms | 292kb | OK | 5 |
9 | 88ms | 1288kb | OK | 5 | 20 |
10 | 88ms | 1296kb | OK | 5 |
11 | 92ms | 1288kb | OK | 5 |
12 | 84ms | 1396kb | OK | 5 |
13 | 352ms | 4260kb | OK | 5 | 20 |
14 | 352ms | 4264kb | OK | 5 |
15 | 352ms | 4264kb | OK | 5 |
16 | 352ms | 4696kb | OK | 5 |
17 | 508ms | 5864kb | OK | 5 | 20 |
18 | 508ms | 5868kb | OK | 5 |
19 | 516ms | 5876kb | OK | 5 |
20 | 524ms | 6776kb | OK | 5 |
Punctaj total | 80 |