Pagini recente » Borderou de evaluare (job #1764371) | Borderou de evaluare (job #2070889) | Borderou de evaluare (job #2903596) | Borderou de evaluare (job #1222172) | Borderou de evaluare (job #1701273)
Borderou de evaluare (job #1701273)
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 | 5000kb | Incorect | 0 |
2 | 264ms | Depăşit | Memory limit exceeded. | 0 |
3 | 268ms | Depăşit | Memory limit exceeded. | 0 |
4 | 384ms | Depăşit | Memory limit exceeded. | 0 |
5 | 284ms | 14220kb | Incorect | 0 |
6 | 464ms | Depăşit | Memory limit exceeded. | 0 |
7 | 472ms | Depăşit | Memory limit exceeded. | 0 |
8 | 500ms | 21500kb | Incorect | 0 |
9 | 540ms | Depăşit | Memory limit exceeded. | 0 |
10 | 548ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |