Pagini recente » Borderou de evaluare (job #1274818) | Borderou de evaluare (job #2680180) | Borderou de evaluare (job #2392133) | Borderou de evaluare (job #1678832) | Borderou de evaluare (job #2030166)
Borderou de evaluare (job #2030166)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(ceva, int)’:
user.cpp:56:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(sol[x.nod]==0) //aici verific in loc de vector de viz
^
user.cpp: In function ‘int main()’:
user.cpp:99:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[1].size();++i)
^
user.cpp:114:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[tmp1].size();++i)
^
user.cpp:89:24: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable]
int tmp1,tmp2,tmp3,cn;
^
user.cpp:86:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&m);
^
user.cpp:94:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&tmp1,&tmp2,&tmp3);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2652kb | Corect | 10 |
2 | 4ms | 2648kb | Corect | 10 |
3 | 4ms | 2664kb | Corect | 10 |
4 | 4ms | 2660kb | Corect | 10 |
5 | 4ms | 2664kb | Corect | 10 |
6 | 152ms | 6020kb | Corect | 10 |
7 | 368ms | 8800kb | Corect | 10 |
8 | 56ms | 3972kb | Corect | 10 |
9 | 52ms | 4132kb | Corect | 10 |
10 | 288ms | 8008kb | Corect | 10 |
Punctaj total | 100 |