Pagini recente » Borderou de evaluare (job #1718273) | Borderou de evaluare (job #2243703) | Borderou de evaluare (job #1484289) | Borderou de evaluare (job #2707549) | Borderou de evaluare (job #1489745)
Borderou de evaluare (job #1489745)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:98: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while ((r * b[p1].F > b[p2].F) || (r * b[p1].F == b[p2].F && b[p1].S >= b[p2].S) && p2 < n)
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subgeom.in","r",stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subgeom.out","w",stdout);
^
user.cpp:35:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T; --T)
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", a + i);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 492kb | Okay | 5 |
| 2 | 0ms | 484kb | Okay | 5 |
| 3 | 0ms | 484kb | Okay | 5 |
| 4 | 0ms | 484kb | Okay | 10 |
| 5 | 4ms | 484kb | Okay | 10 |
| 6 | 12ms | 500kb | Okay | 10 |
| 7 | 44ms | 588kb | Okay | 10 |
| 8 | 68ms | 600kb | Okay | 10 |
| 9 | 80ms | 604kb | Okay | 10 |
| 10 | 92ms | 600kb | Okay | 10 |
| 11 | 104ms | 608kb | Okay | 10 |
| 12 | 4ms | 516kb | Okay | 5 |
| Punctaj total | 100 |