Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2406939)
| Utilizator | Data | 16 aprilie 2019 12:45:22 | |
|---|---|---|---|
| Problema | Patrulatere | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 65 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:72:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size()-1;i++)
~^~~~~~~~~~~
main.cpp:73:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<v.size();j++)
~^~~~~~~~~
main.cpp:75:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v.size();k++)
~^~~~~~~~~
main.cpp:92:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size()-2;i++)
~^~~~~~~~~~~
main.cpp:93:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<v.size()-1;j++)
~^~~~~~~~~~~
main.cpp:95:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=j+1;k<v.size();k++)
~^~~~~~~~~
main.cpp:114:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",nrcor);
^
main.cpp:62:9: warning: unused variable 'all' [-Wunused-variable]
int all,x,x1,n,x2,x3;
^~~
main.cpp:62:20: warning: unused variable 'x2' [-Wunused-variable]
int all,x,x1,n,x2,x3;
^~
main.cpp:62:23: warning: unused variable 'x3' [-Wunused-variable]
int all,x,x1,n,x2,x3;
^~
main.cpp:60:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrulatere.in","r",stdin);
^
main.cpp:61:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("patrulatere.out","w",stdout);
^
main.cpp:63:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:66:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&x1);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 5 | 10 |
| 2 | 2ms | 131kb | OK | 5 | |
| 3 | 2ms | 131kb | OK | 5 | 10 |
| 4 | 2ms | 131kb | OK | 5 | |
| 5 | 3ms | 131kb | OK | 5 | 5 |
| 6 | 4ms | 131kb | OK | 5 | 5 |
| 7 | 8ms | 262kb | OK | 5 | 5 |
| 8 | 8ms | 262kb | OK | 5 | 5 |
| 9 | 8ms | 262kb | OK | 5 | 5 |
| 10 | 8ms | 262kb | OK | 5 | 5 |
| 11 | 33ms | 262kb | OK | 5 | 5 |
| 12 | 22ms | 262kb | OK | 5 | 5 |
| 13 | 90ms | 393kb | Incorect | 0 | 0 |
| 14 | 74ms | 393kb | Incorect | 0 | 0 |
| 15 | 55ms | 393kb | OK | 5 | 5 |
| 16 | 92ms | 393kb | Incorect | 0 | 0 |
| 17 | 61ms | 393kb | Incorect | 0 | 0 |
| 18 | 46ms | 393kb | OK | 5 | |
| 19 | 72ms | 393kb | Incorect | 0 | 0 |
| 20 | 85ms | 393kb | Incorect | 0 | |
| Punctaj total | 65 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
