Pagini recente » Borderou de evaluare (job #2374334) | Borderou de evaluare (job #160339) | Borderou de evaluare (job #239495) | Borderou de evaluare (job #2623068) | Borderou de evaluare (job #2095409)
Borderou de evaluare (job #2095409)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:30: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
scanf("%llf %llf", &X, &M);
^
user.cpp:12:30: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
user.cpp:14:43: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
printf("%.7llf", X > M ? 1 : 1 - X / M);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.in", "r", stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.out", "w", stdout);
^
user.cpp:12:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llf %llf", &X, &M);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 0ms | 468kb | Incorect | 0 |
6 | 0ms | 472kb | OK | 10 |
7 | 0ms | 472kb | OK | 10 |
8 | 0ms | 468kb | OK | 10 |
9 | 0ms | 476kb | OK | 10 |
10 | 0ms | 468kb | OK | 10 |
Punctaj total | 90 |