Pagini recente » Borderou de evaluare (job #114727) | Borderou de evaluare (job #2072727) | Borderou de evaluare (job #3139819) | Borderou de evaluare (job #2291050) | Borderou de evaluare (job #1297657)
Borderou de evaluare (job #1297657)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:9: warning: unused variable ‘temp’ [-Wunused-variable]
int temp=n,pos,max;
^
user.cpp:13:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:14:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) fscanf(fin,"%d",&p1[i]);
^
user.cpp:15:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) fscanf(fin,"%d",&p2[i]);
^
user.cpp:16:16: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int temp=n,pos,max;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 0ms | 356kb | OK | 10 |
5 | 180ms | 1232kb | OK | 10 |
6 | 184ms | 1240kb | OK | 10 |
7 | 180ms | 1236kb | OK | 10 |
8 | 184ms | 1236kb | OK | 10 |
9 | 184ms | 1236kb | OK | 10 |
10 | 184ms | 1240kb | OK | 10 |
Punctaj total | 100 |