Pagini recente » Borderou de evaluare (job #1696735) | Borderou de evaluare (job #1363405) | Borderou de evaluare (job #384848) | Borderou de evaluare (job #579976) | Borderou de evaluare (job #2508770)
Borderou de evaluare (job #2508770)
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 | 22ms | 131kb | OK | 10 |
2 | 37ms | 262kb | OK | 10 |
3 | 63ms | 262kb | OK | 10 |
4 | 97ms | 393kb | OK | 10 |
5 | 94ms | 262kb | OK | 10 |
6 | 19ms | 131kb | OK | 10 |
7 | 85ms | 262kb | OK | 10 |
8 | 39ms | 262kb | OK | 10 |
9 | 67ms | 262kb | OK | 10 |
10 | 86ms | 262kb | OK | 10 |
Punctaj total | 100 |