Pagini recente » Borderou de evaluare (job #1055568) | Borderou de evaluare (job #393284) | Borderou de evaluare (job #22832) | Borderou de evaluare (job #1847632) | Borderou de evaluare (job #2128654)
Borderou de evaluare (job #2128654)
Raport evaluator
Compilare:
user.cpp: In function ‘void sterge(int)’:
user.cpp:51:18: warning: unused variable ‘ok’ [-Wunused-variable]
int m=x%M, ok=0;
^
user.cpp: In function ‘int main()’:
user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
user.cpp:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:86:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp: In function ‘void sterge(int)’:
user.cpp:58:58: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x == p->val){ if(p->n)q->n=p->n;else q->n=NULL;break;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1268kb | OK | 10 | 10 |
2 | 0ms | 1260kb | OK | 10 | 10 |
3 | 0ms | 3384kb | OK | 10 | 10 |
4 | 60ms | 3464kb | OK | 10 | 30 |
5 | 72ms | 9072kb | OK | 10 |
6 | 88ms | 5356kb | OK | 10 |
7 | 220ms | 9136kb | OK | 10 | 10 |
8 | 360ms | 10160kb | OK | 10 | 30 |
9 | 740ms | 11876kb | OK | 10 |
10 | 784ms | 10732kb | OK | 10 |
Punctaj total | 100 |