Pagini recente » Borderou de evaluare (job #2333220) | Borderou de evaluare (job #1566403) | Borderou de evaluare (job #1671661) | Borderou de evaluare (job #2045090) | Borderou de evaluare (job #1258144)
Borderou de evaluare (job #1258144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld ",ans.size());
^
user.cpp:65:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++) printf("%ld ",ans[i]);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.in","r",stdin);
^
user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.out","w",stdout);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:55:121: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld %ld %ld %ld %ld %ld",&v[i].n1.x,&v[i].n1.y,&v[i].n2.x,&v[i].n2.y,&v[i].n3.x,&v[i].n3.y);
^
user.cpp:56:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&f.x,&f.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 5 |
| 2 | 0ms | 448kb | OK | 5 |
| 3 | 0ms | 444kb | OK | 5 |
| 4 | 0ms | 448kb | OK | 5 |
| 5 | 0ms | 444kb | OK | 5 |
| 6 | 0ms | 444kb | OK | 5 |
| 7 | 0ms | 444kb | OK | 5 |
| 8 | 0ms | 444kb | OK | 5 |
| 9 | 0ms | 448kb | OK | 5 |
| 10 | 0ms | 444kb | OK | 5 |
| 11 | 0ms | 440kb | OK | 5 |
| 12 | 0ms | 440kb | OK | 5 |
| 13 | 0ms | 444kb | OK | 5 |
| 14 | 0ms | 444kb | OK | 5 |
| 15 | 0ms | 440kb | OK | 5 |
| 16 | 0ms | 440kb | OK | 5 |
| 17 | 0ms | 444kb | OK | 5 |
| 18 | 0ms | 440kb | OK | 5 |
| 19 | 0ms | 440kb | OK | 5 |
| 20 | 0ms | 440kb | OK | 5 |
| Punctaj total | 100 |