Pagini recente » Borderou de evaluare (job #2824006) | Borderou de evaluare (job #1102970) | Borderou de evaluare (job #3271397) | Borderou de evaluare (job #2971443) | Borderou de evaluare (job #1701262)
Borderou de evaluare (job #1701262)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:126:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,q,i,j,x,y,z;
^
user.cpp:126:21: warning: unused variable ‘z’ [-Wunused-variable]
int n,q,i,j,x,y,z;
^
user.cpp:124:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.in","r",stdin);
^
user.cpp:125:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.out","w",stdout);
^
user.cpp:128:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:131:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:143:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&val[i]);
^
user.cpp:152:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:155:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&x);
^
user.cpp:160:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&x,&y);
^
user.cpp: In function ‘void df2(int, int)’:
user.cpp:48:9: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=j)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4996kb | Incorect | 0 |
2 | 4ms | 5016kb | Incorect | 0 |
3 | 8ms | 5116kb | Incorect | 0 |
4 | 228ms | 14016kb | Incorect | 0 |
5 | 292ms | 17068kb | Incorect | 0 |
6 | 388ms | 21168kb | Incorect | 0 |
7 | 412ms | 22412kb | Incorect | 0 |
8 | 520ms | 27016kb | Incorect | 0 |
9 | 544ms | 27604kb | Incorect | 0 |
10 | 400ms | 28508kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |