Pagini recente » Borderou de evaluare (job #2785430) | Borderou de evaluare (job #317656) | Borderou de evaluare (job #491844) | Borderou de evaluare (job #119337) | Borderou de evaluare (job #1876257)
Borderou de evaluare (job #1876257)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:13: warning: unused variable ‘maxf’ [-Wunused-variable]
int N, h, maxf = 0, my_max = 0, maxp = 0, maxi;
^
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("char.in", "r", stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("char.out", "w", stdout);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &N);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &h);
^
user.cpp:39:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &p[s[i]]);
^
user.cpp:48:27: warning: ‘maxi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf ("%d\n", f[v[maxi]]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 0ms | 280kb | Incorect | 0 |
7 | 0ms | 296kb | Incorect | 0 |
8 | 0ms | 408kb | OK | 10 |
9 | 4ms | 420kb | OK | 10 |
10 | 4ms | 424kb | OK | 10 |
Punctaj total | 50 |