Pagini recente » Borderou de evaluare (job #619317) | Borderou de evaluare (job #59770) | Borderou de evaluare (job #1761086) | Borderou de evaluare (job #122095) | Borderou de evaluare (job #2291551)
Borderou de evaluare (job #2291551)
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 | 153ms | 131kb | Time limit exceeded | 0 |
5 | 152ms | 131kb | Time limit exceeded | 0 |
6 | 152ms | 131kb | Time limit exceeded | 0 |
7 | 152ms | 131kb | Time limit exceeded | 0 |
8 | 152ms | 131kb | Time limit exceeded | 0 |
9 | 152ms | 131kb | Time limit exceeded | 0 |
10 | 153ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 10 |