Pagini recente » Borderou de evaluare (job #1994432) | Borderou de evaluare (job #2187735) | Borderou de evaluare (job #2316505) | Borderou de evaluare (job #2448597) | Borderou de evaluare (job #1726970)
Borderou de evaluare (job #1726970)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&w[i]);
^
user.cpp:47: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:48: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:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:51:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w[i]);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:56:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
v[y].push_back({x,z,t});
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 680kb | OK | 10 |
2 | 12ms | 788kb | OK | 10 |
3 | 0ms | 656kb | OK | 10 |
4 | 32ms | 708kb | OK | 10 |
5 | 40ms | 752kb | OK | 10 |
6 | 52ms | 748kb | OK | 10 |
7 | 48ms | 716kb | OK | 10 |
8 | 0ms | 664kb | OK | 10 |
9 | 0ms | 464kb | OK | 10 |
10 | 4ms | 660kb | OK | 10 |
Punctaj total | 100 |