Pagini recente » Borderou de evaluare (job #2053562) | Borderou de evaluare (job #1914272) | Borderou de evaluare (job #1313279) | Cod sursa (job #1754832) | Borderou de evaluare (job #2291549)
Borderou de evaluare (job #2291549)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v.size()-1 ; i++)
~~^~~~~~~~~~~~
main.cpp:64:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i+1 ; j < v.size() ; j++)
~~^~~~~~~~~~
main.cpp:86:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = j+1 ; k < v.size() ; k++)
~~^~~~~~~~~~
main.cpp:67:17: warning: variable 'pos1' set but not used [-Wunused-but-set-variable]
int pos1,pos2;
^~~~
main.cpp:67:22: warning: variable 'pos2' set but not used [-Wunused-but-set-variable]
int pos1,pos2;
^~~~
main.cpp:53:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("popandai2.in","r",stdin);
^
main.cpp:54:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("popandai2.out","w",stdout);
^
main.cpp:56:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:59:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 7ms | 131kb | OK | 10 |
| 3 | 44ms | 131kb | Incorect | 0 |
| 4 | 152ms | 131kb | Time limit exceeded | 0 |
| 5 | 150ms | 131kb | Time limit exceeded | 0 |
| 6 | 152ms | 131kb | Time limit exceeded | 0 |
| 7 | 151ms | 131kb | Time limit exceeded | 0 |
| 8 | 153ms | 131kb | Time limit exceeded | 0 |
| 9 | 150ms | 131kb | Time limit exceeded | 0 |
| 10 | 152ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 10 |