Pagini recente » Borderou de evaluare (job #164941) | Borderou de evaluare (job #2261563) | Borderou de evaluare (job #1820849) | Borderou de evaluare (job #3169213) | Borderou de evaluare (job #1388696)
Borderou de evaluare (job #1388696)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:59:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:62:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:67:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:67:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.in","r",stdin);
^
user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.out","w",stdout);
^
user.cpp:59: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:62:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:67:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1612kb | OK | 10 |
2 | 0ms | 1628kb | OK | 10 |
3 | 0ms | 1628kb | OK | 10 |
4 | 0ms | 1624kb | OK | 10 |
5 | 0ms | 1672kb | Incorect | 0 |
6 | 0ms | 1672kb | Incorect | 0 |
7 | 40ms | 3320kb | Incorect | 0 |
8 | 88ms | 4808kb | Incorect | 0 |
9 | 124ms | 6124kb | Incorect | 0 |
10 | 160ms | 7112kb | Incorect | 0 |
Punctaj total | 40 |