Pagini recente » Borderou de evaluare (job #675907) | Borderou de evaluare (job #2618701) | Borderou de evaluare (job #2698503) | Borderou de evaluare (job #3033523) | Borderou de evaluare (job #2508769)
Borderou de evaluare (job #2508769)
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 | 33ms | 241kb | OK | 10 |
2 | 41ms | 262kb | OK | 10 |
3 | 93ms | 262kb | OK | 10 |
4 | 100ms | 262kb | Time limit exceeded | 0 |
5 | 100ms | 262kb | Time limit exceeded | 0 |
6 | 21ms | 131kb | OK | 10 |
7 | 100ms | 262kb | Time limit exceeded | 0 |
8 | 47ms | 262kb | OK | 10 |
9 | 80ms | 262kb | OK | 10 |
10 | 101ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 60 |