Pagini recente » Cod sursa (job #200072) | Borderou de evaluare (job #2381475) | Borderou de evaluare (job #2620739) | Borderou de evaluare (job #1777498) | Borderou de evaluare (job #1862419)
Borderou de evaluare (job #1862419)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYZSiWe.o: In function `main':
user.cpp:(.text.startup+0x75): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 472kb | OK | 10 |
| 4 | 0ms | 568kb | OK | 10 |
| 5 | 4ms | 648kb | OK | 10 |
| 6 | 28ms | 1600kb | OK | 10 |
| 7 | 0ms | 444kb | OK | 10 |
| 8 | 20ms | 1324kb | OK | 10 |
| 9 | 80ms | 3508kb | OK | 10 |
| 10 | 100ms | 6372kb | Incorect | 0 |
| Punctaj total | 90 |