Pagini recente » Borderou de evaluare (job #20956) | Borderou de evaluare (job #2723153) | Borderou de evaluare (job #1152982) | Borderou de evaluare (job #2325394) | Borderou de evaluare (job #1918846)
Borderou de evaluare (job #1918846)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&baza[i]), distanta[i]=Number, W[i]=Number;
^
user.cpp:34: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:35: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:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:39:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&baza[i]), distanta[i]=Number, W[i]=Number;
^
user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:44:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&a,&b,&c,&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 360kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 0ms | 352kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 332kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 100 |