Pagini recente » Borderou de evaluare (job #11394) | Cod sursa (job #3163481) | Borderou de evaluare (job #2487281) | Cod sursa (job #2469981) | Borderou de evaluare (job #1736669)
Borderou de evaluare (job #1736669)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:109:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &st);
^
user.cpp:96:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laser.in", "r", stdin);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:100:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &v[i].a.x, &v[i].a.y, &v[i].b.x, &v[i].b.y);
^
user.cpp:109:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &st);
^
user.cpp: In function ‘void write()’:
user.cpp:149:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("laser.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 620kb | OK! | 10 |
2 | 0ms | 624kb | OK! | 10 |
3 | 0ms | 628kb | OK! | 10 |
4 | 0ms | 636kb | OK! | 10 |
5 | 4ms | 636kb | OK! | 10 |
6 | 4ms | 636kb | OK! | 10 |
7 | 12ms | 648kb | OK! | 10 |
8 | 8ms | 648kb | OK! | 10 |
9 | 16ms | 644kb | OK! | 10 |
10 | 12ms | 644kb | OK! | 10 |
Punctaj total | 100 |