Pagini recente » Borderou de evaluare (job #1188135) | Borderou de evaluare (job #1527339) | Borderou de evaluare (job #2442185) | Cod sursa (job #1751026) | Borderou de evaluare (job #1885610)
Borderou de evaluare (job #1885610)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:142:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%d %lf\n",&p,&n,&k);
^
user.cpp:166:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",cnt);
^
user.cpp:172:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",cnt/2);
^
user.cpp:139:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicoptere.in","r",stdin);
^
user.cpp:140:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicoptere.out","w",stdout);
^
user.cpp:142:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d %lf\n",&p,&n,&k);
^
user.cpp:145:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf ",&v[i].x1,&v[i].y1,&v[i].x2);
^
user.cpp:146:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf\n",&v[i].y2,&v[i].x3,&v[i].y3);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 316kb | OK. | 2 |
| 2 | 0ms | 328kb | OK. | 2 |
| 3 | 0ms | 336kb | OK. | 2 |
| 4 | 0ms | 344kb | OK. | 2 |
| 5 | 0ms | 352kb | OK. | 2 |
| 6 | 0ms | 356kb | OK. | 2 |
| 7 | 0ms | 364kb | OK. | 2 |
| 8 | 0ms | 376kb | OK. | 2 |
| 9 | 0ms | 384kb | OK. | 2 |
| 10 | 0ms | 380kb | OK. | 2 |
| 11 | 0ms | 320kb | OK. | 4 |
| 12 | 0ms | 332kb | OK. | 4 |
| 13 | 0ms | 332kb | OK. | 4 |
| 14 | 0ms | 340kb | OK. | 4 |
| 15 | 0ms | 352kb | OK. | 4 |
| 16 | 0ms | 360kb | OK. | 4 |
| 17 | 0ms | 368kb | OK. | 4 |
| 18 | 0ms | 376kb | OK. | 4 |
| 19 | 4ms | 384kb | OK. | 4 |
| 20 | 4ms | 384kb | OK. | 4 |
| 21 | 0ms | 336kb | Suma lungimilor rutelor gresita. | 0 |
| 22 | 0ms | 340kb | Suma lungimilor rutelor gresita. | 0 |
| 23 | 0ms | 356kb | Suma lungimilor rutelor gresita. | 0 |
| 24 | 0ms | 360kb | Suma lungimilor rutelor gresita. | 0 |
| 25 | 0ms | 380kb | Suma lungimilor rutelor gresita. | 0 |
| 26 | 0ms | 384kb | Suma lungimilor rutelor gresita. | 0 |
| 27 | 0ms | 396kb | Suma lungimilor rutelor gresita. | 0 |
| 28 | 0ms | 408kb | Suma lungimilor rutelor gresita. | 0 |
| 29 | 0ms | 420kb | Suma lungimilor rutelor gresita. | 0 |
| 30 | 0ms | 416kb | Suma lungimilor rutelor gresita. | 0 |
| Punctaj total | 60 |