Pagini recente » Borderou de evaluare (job #44121) | Borderou de evaluare (job #643248) | Borderou de evaluare (job #48637) | Cod sursa (job #106935) | Borderou de evaluare (job #2000434)
Borderou de evaluare (job #2000434)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman()’:
user.cpp:41:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘bool check(int)’:
user.cpp:83:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:124:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&vecin[i]);
^
user.cpp:120:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y,c,w,timp,watt;
^
user.cpp:120:17: warning: unused variable ‘c’ [-Wunused-variable]
int i,j,x,y,c,w,timp,watt;
^
user.cpp:120:19: warning: unused variable ‘w’ [-Wunused-variable]
int i,j,x,y,c,w,timp,watt;
^
user.cpp:118:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:119:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:122:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:124:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&vecin[i]);
^
user.cpp:125:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:128:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&timp,&watt);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 344kb | OK | 10 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 0ms | 312kb | OK | 10 |
| 4 | 0ms | 316kb | Incorect | 0 |
| 5 | 0ms | 324kb | Incorect | 0 |
| 6 | 0ms | 316kb | Incorect | 0 |
| 7 | 0ms | 308kb | Incorect | 0 |
| 8 | 0ms | 324kb | OK | 10 |
| 9 | 0ms | 304kb | Incorect | 0 |
| 10 | 0ms | 316kb | OK | 10 |
| Punctaj total | 50 |