Pagini recente » Borderou de evaluare (job #1795559) | Borderou de evaluare (job #1529025) | Cod sursa (job #3121403) | Borderou de evaluare (job #1981967) | Borderou de evaluare (job #1289049)
Borderou de evaluare (job #1289049)
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 | 236kb | Incorect | 0 |
2 | 108ms | 244kb | Incorect | 0 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 16ms | 236kb | Incorect | 0 |
5 | 20ms | 232kb | Incorect | 0 |
6 | 44ms | 236kb | Incorect | 0 |
7 | 56ms | 236kb | Incorect | 0 |
8 | 4ms | 236kb | Incorect | 0 |
9 | 60ms | 232kb | Incorect | 0 |
10 | 124ms | 232kb | Incorect | 0 |
Punctaj total | 0 |