Pagini recente » Borderou de evaluare (job #1958343) | Borderou de evaluare (job #1335997) | Borderou de evaluare (job #2351907) | Borderou de evaluare (job #119143) | Borderou de evaluare (job #1372990)
Borderou de evaluare (job #1372990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, x, sec1, sec2, maxim1, maximm2;
^
user.cpp:10:27: warning: variable ‘sec2’ set but not used [-Wunused-but-set-variable]
int n, i, j, x, sec1, sec2, maxim1, maximm2;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:20:31: 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 | 448kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 16ms | 448kb | OK | 10 |
6 | 36ms | 448kb | OK | 10 |
7 | 76ms | 444kb | OK | 10 |
8 | 132ms | 444kb | OK | 10 |
9 | 148ms | 448kb | OK | 10 |
10 | 168ms | 448kb | OK | 10 |
Punctaj total | 100 |