Pagini recente » Borderou de evaluare (job #1958284) | Borderou de evaluare (job #1401726) | Borderou de evaluare (job #450809) | Borderou de evaluare (job #343466) | Borderou de evaluare (job #1600564)
Borderou de evaluare (job #1600564)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:52: warning: unused variable ‘sum’ [-Wunused-variable]
int i, n, x, st = 1, dr = 256000001, med, rez, sum=0, max=0;
^
user.cpp:20:59: warning: unused variable ‘max’ [-Wunused-variable]
int i, n, x, st = 1, dr = 256000001, med, rez, sum=0, max=0;
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w", stdout);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 336kb | OK | 10 |
6 | 0ms | 380kb | OK | 10 |
7 | 4ms | 392kb | OK | 10 |
8 | 4ms | 400kb | OK | 10 |
9 | 4ms | 396kb | OK | 10 |
10 | 4ms | 400kb | OK | 10 |
Punctaj total | 80 |