Pagini recente » Borderou de evaluare (job #3208350) | Borderou de evaluare (job #3138669) | Borderou de evaluare (job #2178583) | Borderou de evaluare (job #1975241) | Borderou de evaluare (job #1763969)
Borderou de evaluare (job #1763969)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellman(int, long long int)’:
user.cpp:18:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j, fiu, nod;
^
user.cpp:18:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, fiu, nod;
^
user.cpp: In function ‘int main()’:
user.cpp:59:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y, c, s;
^
user.cpp:59:30: warning: unused variable ‘s’ [-Wunused-variable]
int n, m, i, j, x, y, c, s;
^
user.cpp:56:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclu.in","r",stdin);
^
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciclu.out","w",stdout);
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:66:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
user.cpp:85:17: warning: ‘cost’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cost /= 1000;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 332kb | Belea ! | 10 |
2 | 0ms | 336kb | Belea ! | 10 |
3 | 0ms | 340kb | Belea ! | 10 |
4 | 12ms | 340kb | Belea ! | 10 |
5 | 108ms | 392kb | Belea ! | 10 |
6 | 164ms | 352kb | Belea ! | 10 |
7 | 100ms | 356kb | Belea ! | 10 |
8 | 516ms | 400kb | Belea ! | 10 |
9 | 56ms | 364kb | Belea ! | 10 |
10 | 1216ms | 404kb | Belea ! | 10 |
Punctaj total | 100 |