Pagini recente » Borderou de evaluare (job #2391191) | Borderou de evaluare (job #493821) | Borderou de evaluare (job #3183787) | Borderou de evaluare (job #2683862) | Borderou de evaluare (job #1969568)
Borderou de evaluare (job #1969568)
Raport evaluator
Compilare:
user.cpp: In function ‘short int calc(short int, short int, short int)’:
user.cpp:4:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 0x3f3f3f3f
^
user.cpp:15:39: note: in expansion of macro ‘INF’
if(pos==0 && (x!=1 || y!=1)) return -INF;
^
user.cpp:4:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 0x3f3f3f3f
^
user.cpp:16:25: note: in expansion of macro ‘INF’
if(x<1 || y<1) return -INF;
^
user.cpp: In function ‘int main()’:
user.cpp:37:8: warning: unused variable ‘t’ [-Wunused-variable]
short t,i,nr,n,j,k;
^
user.cpp:37:12: warning: unused variable ‘nr’ [-Wunused-variable]
short t,i,nr,n,j,k;
^
user.cpp:39:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%hd",&n);
^
user.cpp:41:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=n;++j) fscanf(fin, "%hd",&v[i][j]);
^
user.cpp:43:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%hd",&k);
^
user.cpp:44:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=k;++i) fscanf(fin, "%hd",&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OKAY! | 10 |
2 | 0ms | 484kb | OKAY! | 10 |
3 | 0ms | 488kb | OKAY! | 10 |
4 | 0ms | 488kb | OKAY! | 10 |
5 | 0ms | 492kb | OKAY! | 10 |
6 | 0ms | 488kb | OKAY! | 10 |
7 | 0ms | 500kb | OKAY! | 10 |
8 | 0ms | 496kb | OKAY! | 10 |
9 | 0ms | 500kb | OKAY! | 10 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |