Pagini recente » Borderou de evaluare (job #98717) | Borderou de evaluare (job #1440762) | Borderou de evaluare (job #1440589) | Borderou de evaluare (job #1440095) | Borderou de evaluare (job #1809038)
Borderou de evaluare (job #1809038)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: unused variable ‘d’ [-Wunused-variable]
int n,k,i,d,suma,st,dr,mij,flag,distanta,orase;
^
user.cpp:14: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:17:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
user.cpp:55:9: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(distanta<=mij && i<n){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 10 |
2 | 0ms | 256kb | Incorect | 0 | 0 |
3 | 20ms | 640kb | Incorect | 0 | 0 |
4 | 44ms | 1032kb | OK | 10 | 10 |
5 | 116ms | 2600kb | OK | 10 | 10 |
6 | 144ms | 2984kb | OK | 10 | 10 |
7 | 160ms | 3380kb | OK | 10 | 0 |
8 | 184ms | 3768kb | OK | 10 |
9 | 212ms | 4160kb | Incorect | 0 |
10 | 0ms | 248kb | Incorect | 0 | 0 |
Punctaj total | 40 |