Pagini recente » Borderou de evaluare (job #2170604) | Borderou de evaluare (job #146354) | Borderou de evaluare (job #853312) | Borderou de evaluare (job #1004653) | Borderou de evaluare (job #1668169)
Borderou de evaluare (job #1668169)
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 | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 4ms | 672kb | OK | 10 |
7 | 8ms | 1248kb | OK | 10 |
8 | 4ms | 1220kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 1220kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 1224kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 70 |