Pagini recente » Borderou de evaluare (job #424835) | Borderou de evaluare (job #2311740) | Borderou de evaluare (job #636565) | Borderou de evaluare (job #943379) | Borderou de evaluare (job #2508768)
Borderou de evaluare (job #2508768)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farey.in","r",stdin);
^
main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("farey.out","w",stdout);
^
main.cpp:31:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp:48:28: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
double j=(double)i*ans;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 15ms | 131kb | Incorect | 0 |
2 | 31ms | 131kb | Incorect | 0 |
3 | 64ms | 262kb | Incorect | 0 |
4 | 64ms | 262kb | Incorect | 0 |
5 | 73ms | 262kb | Incorect | 0 |
6 | 19ms | 131kb | Incorect | 0 |
7 | 61ms | 262kb | Incorect | 0 |
8 | 40ms | 262kb | Incorect | 0 |
9 | 57ms | 262kb | Incorect | 0 |
10 | 74ms | 262kb | OK | 10 |
Punctaj total | 10 |