Pagini recente » Borderou de evaluare (job #2290264) | Borderou de evaluare (job #2051303) | Borderou de evaluare (job #629034) | Borderou de evaluare (job #1598815) | Borderou de evaluare (job #1668171)
Borderou de evaluare (job #1668171)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:40: 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:42: 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:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&pass);
^
user.cpp:15:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, DIM - 1, stdin);
^
user.cpp:10:28: warning: ‘sf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int temp,maxim=0,n,i,k,inc,sf,answer;
^
user.cpp:10:24: warning: ‘inc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int temp,maxim=0,n,i,k,inc,sf,answer;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 472kb | OK | 10 |
6 | 4ms | 660kb | OK | 10 |
7 | 8ms | 1252kb | OK | 10 |
8 | 12ms | 1836kb | OK | 10 |
9 | 16ms | 2032kb | OK | 10 |
10 | 16ms | 2224kb | OK | 10 |
Punctaj total | 100 |