Pagini recente » Borderou de evaluare (job #1887418) | Borderou de evaluare (job #1413725) | Borderou de evaluare (job #2099492) | Borderou de evaluare (job #2070303) | Borderou de evaluare (job #1408171)
Borderou de evaluare (job #1408171)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%d", &n);
^
user.cpp:14:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%d", &a);
^
user.cpp:21:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (v[sol]>=n/2+1) printf ("%d %d", sol, v[sol]);
^
user.cpp:21:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("elmaj.in", "r", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("elmaj.out", "w", stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Incorect | 0 |
| 2 | 0ms | 380kb | Incorect | 0 |
| 3 | 0ms | 488kb | Incorect | 0 |
| 4 | 0ms | 504kb | Incorect | 0 |
| 5 | 12ms | 504kb | Incorect | 0 |
| 6 | 28ms | 500kb | Incorect | 0 |
| 7 | 52ms | 504kb | Incorect | 0 |
| 8 | 128ms | 504kb | Incorect | 0 |
| 9 | 252ms | 252kb | Incorect | 0 |
| 10 | 280ms | 508kb | Incorect | 0 |
| Punctaj total | 0 |