Pagini recente » Borderou de evaluare (job #1294161) | Borderou de evaluare (job #2038700) | Borderou de evaluare (job #2437120) | Borderou de evaluare (job #2584231) | Borderou de evaluare (job #1926380)
Borderou de evaluare (job #1926380)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&r);
^
user.cpp:23:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&s,&t);
^
user.cpp:23:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactor.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactor.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&v[0][i]);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&r);
^
user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&s,&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 16040kb | OK | 10 |
2 | 92ms | 16044kb | OK | 10 |
3 | 132ms | 16040kb | OK | 10 |
4 | 248ms | 16044kb | OK | 10 |
5 | 312ms | 16044kb | OK | 10 |
6 | 464ms | 16044kb | OK | 10 |
7 | 448ms | 16048kb | OK | 10 |
8 | 468ms | 16044kb | OK | 10 |
9 | 420ms | 16044kb | OK | 10 |
10 | 40ms | 16044kb | OK | 10 |
Punctaj total | 100 |