Pagini recente » Borderou de evaluare (job #2047480) | Borderou de evaluare (job #2229566) | Borderou de evaluare (job #2963586) | Borderou de evaluare (job #2253642) | Borderou de evaluare (job #2084729)
Borderou de evaluare (job #2084729)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:29:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i)scanf("%d", &c[i]);
^
user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:43:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:41:21: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int Max = 0, a, b;
^
user.cpp:51:18: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(x == a && y < b) b = y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 836kb | OK | 10 |
2 | 0ms | 836kb | OK | 10 |
3 | 0ms | 852kb | OK | 10 |
4 | 4ms | 908kb | OK | 10 |
5 | 4ms | 908kb | OK | 10 |
6 | 16ms | 1080kb | OK | 10 |
7 | 480ms | 2336kb | OK | 10 |
8 | 24ms | 1340kb | OK | 10 |
9 | 248ms | 1584kb | OK | 10 |
10 | 356ms | 1604kb | OK | 10 |
Punctaj total | 100 |