Pagini recente » Borderou de evaluare (job #2572327) | Borderou de evaluare (job #1635589) | Borderou de evaluare (job #2799505) | Borderou de evaluare (job #1416983) | Borderou de evaluare (job #1969484)
Borderou de evaluare (job #1969484)
Raport evaluator
Compilare:
user.cpp: In function ‘short int calc(short int, short int, short int)’:
user.cpp:5:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 0x3f3f3f3f
^
user.cpp:16:39: note: in expansion of macro ‘INF’
if(pos==0 && (x!=1 || y!=1)) return -INF;
^
user.cpp:5:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 0x3f3f3f3f
^
user.cpp:17:25: note: in expansion of macro ‘INF’
if(x<1 || y<1) return -INF;
^
user.cpp: In function ‘int main()’:
user.cpp:38:8: warning: unused variable ‘t’ [-Wunused-variable]
short t,i,nr,n,j,k;
^
user.cpp:38:12: warning: unused variable ‘nr’ [-Wunused-variable]
short t,i,nr,n,j,k;
^
user.cpp:40: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:42: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:44: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:45: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 | 308kb | OKAY! | 10 |
2 | 0ms | 304kb | OKAY! | 10 |
3 | 0ms | 304kb | OKAY! | 10 |
4 | 0ms | 312kb | OKAY! | 10 |
5 | 0ms | 312kb | OKAY! | 10 |
6 | 0ms | 316kb | OKAY! | 10 |
7 | 0ms | 320kb | OKAY! | 10 |
8 | 0ms | 316kb | OKAY! | 10 |
9 | 0ms | 324kb | OKAY! | 10 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |