Pagini recente » Borderou de evaluare (job #2363898) | Borderou de evaluare (job #2257140) | Borderou de evaluare (job #1855989) | Borderou de evaluare (job #1845789) | Borderou de evaluare (job #2030162)
Borderou de evaluare (job #2030162)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(ceva, int)’:
user.cpp:55: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:98:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[1].size();++i)
^
user.cpp:113:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[tmp1].size();++i)
^
user.cpp:88:30: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable]
short int tmp1,tmp2,tmp3,cn;
^
user.cpp:85: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:86: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:90:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd",&n,&m);
^
user.cpp:93:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd",&tmp1,&tmp2,&tmp3);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2640kb | Corect | 10 |
2 | 4ms | 2644kb | Corect | 10 |
3 | 4ms | 2652kb | Cost incorect | 0 |
4 | 4ms | 2648kb | Cost incorect | 0 |
5 | 4ms | 2648kb | Cost incorect | 0 |
6 | 12ms | 2772kb | Cost incorect | 0 |
7 | 8ms | 2748kb | Cost incorect | 0 |
8 | 8ms | 2696kb | Cost incorect | 0 |
9 | 4ms | 2656kb | Cost incorect | 0 |
10 | 0ms | 2604kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |