Pagini recente » Borderou de evaluare (job #294832) | Borderou de evaluare (job #2372794) | Borderou de evaluare (job #1778803) | Borderou de evaluare (job #2467537) | Borderou de evaluare (job #1701266)
Borderou de evaluare (job #1701266)
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 | 268ms | Depăşit | Memory limit exceeded. | 0 |
3 | 272ms | Depăşit | Memory limit exceeded. | 0 |
4 | 376ms | Depăşit | Memory limit exceeded. | 0 |
5 | 276ms | 14224kb | Incorect | 0 |
6 | 468ms | Depăşit | Memory limit exceeded. | 0 |
7 | 480ms | Depăşit | Memory limit exceeded. | 0 |
8 | 504ms | 21504kb | Incorect | 0 |
9 | 544ms | Depăşit | Memory limit exceeded. | 0 |
10 | 556ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |