Pagini recente » Borderou de evaluare (job #1700940) | Borderou de evaluare (job #855466) | Borderou de evaluare (job #242617) | Borderou de evaluare (job #1088452) | Borderou de evaluare (job #2030163)
Borderou de evaluare (job #2030163)
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:30: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable]
short 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: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:94: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 | 2644kb | Corect | 10 |
2 | 4ms | 2648kb | Corect | 10 |
3 | 4ms | 2652kb | Corect | 10 |
4 | 4ms | 2648kb | Corect | 10 |
5 | 4ms | 2648kb | Corect | 10 |
6 | 12ms | 2776kb | Cost incorect | 0 |
7 | 8ms | 2752kb | 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 | 50 |