Pagini recente » Borderou de evaluare (job #1986652) | Borderou de evaluare (job #2183427) | Borderou de evaluare (job #3162616) | Borderou de evaluare (job #503975) | Borderou de evaluare (job #1723584)
Borderou de evaluare (job #1723584)
Raport evaluator
Compilare:
user.cpp: In function ‘int Solve(int, int, int)’:
user.cpp:18:53: warning: variable ‘pivots’ set but not used [-Wunused-but-set-variable]
int result=Exponentiate(generator,SQRT,prime),i,pivots,steps=0,which;
^
user.cpp: In function ‘int main()’:
user.cpp:39:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dlog.in","r",stdin);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dlog.out","w",stdout);
^
user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tests);
^
user.cpp:44:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p,&g,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | OK | 10 |
| 2 | 8ms | 320kb | Incorect | 0 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 32ms | 292kb | Incorect | 0 |
| 5 | 148ms | 328kb | Incorect | 0 |
| 6 | 56ms | 296kb | Incorect | 0 |
| 7 | 144ms | 328kb | Incorect | 0 |
| 8 | 256ms | 352kb | Incorect | 0 |
| 9 | 144ms | 324kb | Incorect | 0 |
| 10 | 144ms | 324kb | Incorect | 0 |
| Punctaj total | 20 |