Pagini recente » Borderou de evaluare (job #1311079) | Borderou de evaluare (job #667810) | Borderou de evaluare (job #881329) | Borderou de evaluare (job #49796) | Borderou de evaluare (job #1965706)
Borderou de evaluare (job #1965706)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:10: warning: statement has no effect [-Wunused-value]
for(k;k>0;k--){
^
user.cpp:9:15: warning: unused variable ‘d’ [-Wunused-variable]
int n,k,i,d,max;
^
user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&k);
^
user.cpp:15:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&i);
^
user.cpp:9:17: warning: ‘max’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,k,i,d,max;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 8ms | 252kb | OK | 10 |
7 | 8ms | 256kb | OK | 10 |
8 | 12ms | 252kb | OK | 10 |
9 | 24ms | 256kb | OK | 10 |
10 | 32ms | 256kb | OK | 10 |
Punctaj total | 100 |