Pagini recente » Borderou de evaluare (job #1551912) | Borderou de evaluare (job #1435317) | Borderou de evaluare (job #767418) | Borderou de evaluare (job #183299) | Borderou de evaluare (job #1842016)
Borderou de evaluare (job #1842016)
Raport evaluator
Compilare:
user.cpp: In function ‘void writeAnswer(int)’:
user.cpp:183:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d\n", v[last[mask].p1].x, v[last[mask].p1].y, v[last[mask].p2].x, v[last[mask].p2].y);
^
user.cpp:183:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d\n", v[last[mask].p1].x, v[last[mask].p1].y, v[last[mask].p2].x, v[last[mask].p2].y);
^
user.cpp:183:84: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d\n", v[last[mask].p1].x, v[last[mask].p1].y, v[last[mask].p2].x, v[last[mask].p2].y);
^
user.cpp:183:104: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d %d %d %d\n", v[last[mask].p1].x, v[last[mask].p1].y, v[last[mask].p2].x, v[last[mask].p2].y);
^
user.cpp: In function ‘int main()’:
user.cpp:188:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.in","r", stdin);
^
user.cpp:189:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.out", "w", stdout);
^
user.cpp:194:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &D);
^
user.cpp:198:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp: In function ‘bool getType()’:
user.cpp:170:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:171:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while(c != 'F' && c != 'B') scanf("%c", &c);
^
user.cpp: In function ‘void bkt(int)’:
user.cpp:115:12: warning: ‘b2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = 1.0*(b2 - b1)/(a1-a2);
^
user.cpp:79:24: note: ‘b2’ was declared here
double a1, a2, b1, b2, x, y;
^
user.cpp:115:26: warning: ‘a2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = 1.0*(b2 - b1)/(a1-a2);
^
user.cpp:79:16: note: ‘a2’ was declared here
double a1, a2, b1, b2, x, y;
^
user.cpp:116:18: warning: ‘b1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = x*a1 + b1;
^
user.cpp:79:20: note: ‘b1’ was declared here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 348kb | Ok! | 10 |
2 | 0ms | 328kb | Ok! | 10 |
3 | 0ms | 484kb | Ok! | 10 |
4 | 4ms | 476kb | Ok! | 10 |
5 | 12ms | 488kb | Ok! | 10 |
6 | 0ms | 304kb | Ok! | 10 |
7 | 12ms | 488kb | Ok! | 10 |
8 | 20ms | 492kb | Ok! | 10 |
9 | 4ms | 412kb | Ok! | 10 |
10 | 20ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |