Pagini recente » Borderou de evaluare (job #2104504) | Borderou de evaluare (job #2252105) | Borderou de evaluare (job #2917843) | Borderou de evaluare (job #722031) | Borderou de evaluare (job #1961853)
Borderou de evaluare (job #1961853)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,k,i,j,cn,max=0,poz,nrm=0;
^
user.cpp:9:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc7.in","r",stdin);
^
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc7.out","w",stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:14:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&mis[i].inc,&mis[i].g);
^
user.cpp:24:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
n=mis[poz].g;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 276kb | OK | 10 |
9 | 0ms | 300kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 100 |