Pagini recente » Borderou de evaluare (job #396069) | Borderou de evaluare (job #1475707) | Borderou de evaluare (job #474865) | Borderou de evaluare (job #1571326) | Borderou de evaluare (job #2408532)
Borderou de evaluare (job #2408532)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v.size() ; i++)
~~^~~~~~~~~~
main.cpp:47:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ",sol.size());
^
main.cpp:48:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < sol.size() ; i++)
~~^~~~~~~~~~~~
main.cpp:53:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i < v.size(); i++)
~~^~~~~~~~~~
main.cpp:29: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);
^
main.cpp:30: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);
^
main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:35:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&x1,&y1,&x2,&y2,&x3,&y3);
^
main.cpp:41:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | OK | 5 |
11 | 2ms | 131kb | OK | 5 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | OK | 5 |
15 | 2ms | 131kb | Incorect | 0 |
16 | 2ms | 131kb | OK | 5 |
17 | 2ms | 131kb | OK | 5 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 25 |