Pagini recente » Borderou de evaluare (job #3114890) | Borderou de evaluare (job #3196310) | Borderou de evaluare (job #952878) | Borderou de evaluare (job #2122856) | Borderou de evaluare (job #1289050)
Borderou de evaluare (job #1289050)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:10:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x1);
^
user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:16:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x2);
^
user.cpp:5:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.in","r",stdin);
^
user.cpp:6:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.out","w",stdout);
^
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x1);
^
user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 240kb | OK | 10 |
2 | 108ms | 240kb | OK | 10 |
3 | 0ms | 240kb | OK | 10 |
4 | 16ms | 240kb | OK | 10 |
5 | 24ms | 232kb | OK | 10 |
6 | 44ms | 236kb | OK | 10 |
7 | 56ms | 240kb | OK | 10 |
8 | 4ms | 240kb | OK | 10 |
9 | 56ms | 232kb | OK | 10 |
10 | 124ms | 236kb | OK | 10 |
Punctaj total | 100 |