Pagini recente » Borderou de evaluare (job #2403295) | Borderou de evaluare (job #1366642) | Borderou de evaluare (job #3191271) | Borderou de evaluare (job #1885476) | Borderou de evaluare (job #1918800)
Borderou de evaluare (job #1918800)
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 | 444kb | OK | 10 |
2 | 0ms | 364kb | OK | 10 |
3 | 0ms | 360kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 360kb | OK | 10 |
6 | 0ms | 316kb | OK | 10 |
7 | 0ms | 300kb | OK | 10 |
8 | 0ms | 340kb | OK | 10 |
9 | 0ms | 288kb | OK | 10 |
10 | 0ms | 308kb | OK | 10 |
Punctaj total | 100 |