Pagini recente » Cod sursa (job #1756700) | Borderou de evaluare (job #1918413)
Borderou de evaluare (job #1918413)
Raport evaluator
Compilare:
user.cpp: In function ‘int intersectie(punct, punct)’:
user.cpp:20:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a.x==1 && (a.x<b.x && a.x<b.y) || (a.y<b.x && a.y<b.y))
^
user.cpp: In function ‘int main()’:
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc4.in", "r", stdin);
^
user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc4.out", "w", stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:32:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &a[i].x, &a[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 8ms | 276kb | Incorect | 0 |
| 6 | 124ms | 296kb | Incorect | 0 |
| 7 | Depăşit | 280kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 316kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 492kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 704kb | Time limit exceeded. | 0 |
| 12 | 0ms | 272kb | Incorect | 0 |
| 13 | Depăşit | 868kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 868kb | Time limit exceeded. | 0 |
| 15 | 0ms | 276kb | Incorect | 0 |
| 16 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 17 | 0ms | 272kb | Incorect | 0 |
| 18 | Depăşit | 856kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1208kb | Time limit exceeded. | 0 |
| 20 | 0ms | 272kb | OK | 5 |
| Punctaj total | 10 |