Pagini recente » Borderou de evaluare (job #812139) | Borderou de evaluare (job #1058314) | Borderou de evaluare (job #2300350) | Cod sursa (job #927457) | Borderou de evaluare (job #1289046)
Borderou de evaluare (job #1289046)
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:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x1);
^
user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:14:23: 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:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x1);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:14:24: 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 | 236kb | Incorect | 0 |
2 | 4ms | 240kb | Incorect | 0 |
3 | 0ms | 240kb | Incorect | 0 |
4 | 16ms | 236kb | Incorect | 0 |
5 | 24ms | 232kb | Incorect | 0 |
6 | 40ms | 236kb | Incorect | 0 |
7 | 60ms | 240kb | Incorect | 0 |
8 | 4ms | 240kb | Incorect | 0 |
9 | 64ms | 236kb | Incorect | 0 |
10 | 116ms | 236kb | Incorect | 0 |
Punctaj total | 0 |