Pagini recente » Cod sursa (job #3234905) | Borderou de evaluare (job #2700503) | Borderou de evaluare (job #1912941) | Borderou de evaluare (job #595854) | Borderou de evaluare (job #1452236)
Borderou de evaluare (job #1452236)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(t*v[i].b+v[i].a>=x&&t*v[i].b+v[i].a<=y||t*v[i].b+v[i].a>=y&&t*v[i].b+v[i].a<=x)
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kinetic.in","r",stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kinetic.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].a,&v[i].b);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 260kb | OK | 10 | 10 |
4 | Depăşit | 268kb | Time limit exceeded. | 0 | 0 |
5 | 480ms | 264kb | OK | 10 | 0 |
6 | Depăşit | 260kb | Time limit exceeded. | 0 |
7 | Depăşit | 260kb | Time limit exceeded. | 0 |
8 | Depăşit | 260kb | Time limit exceeded. | 0 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 30 |