Pagini recente » Borderou de evaluare (job #2374354) | Borderou de evaluare (job #723657) | Borderou de evaluare (job #626766) | Borderou de evaluare (job #910355) | Borderou de evaluare (job #1498149)
Borderou de evaluare (job #1498149)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
masina[p+1]=NULL;
^
user.cpp:96:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
masina[p+1]=NULL;
^
user.cpp:110:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1;j<in_file[i].size();j++){
^
user.cpp:72:30: warning: unused variable ‘q’ [-Wunused-variable]
int n,a,r,k,i,j,l,p,nr=0,q,dad1,dad2,nrd=0;
^
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in","r",stdin);
^
user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out","w",stdout);
^
user.cpp:74:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n",&n,&a,&r,&k);
^
user.cpp:77:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc5lYHlU.o: In function `main':
user.cpp:(.text.startup+0xb8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | OK | 10 |
2 | 0ms | 396kb | OK | 10 |
3 | 4ms | 444kb | OK | 10 |
4 | 4ms | 488kb | OK | 10 |
5 | 32ms | 932kb | OK | 10 |
6 | 72ms | 1380kb | OK | 10 |
7 | 116ms | 2128kb | OK | 10 |
8 | 224ms | 4704kb | OK | 10 |
9 | 40ms | 632kb | OK | 10 |
10 | 188ms | 4732kb | OK | 10 |
Punctaj total | 100 |