Pagini recente » Borderou de evaluare (job #2863359) | Borderou de evaluare (job #265936) | Borderou de evaluare (job #559712) | Borderou de evaluare (job #1903247) | Borderou de evaluare (job #2072842)
Borderou de evaluare (job #2072842)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5005]’ [-Wformat=]
scanf("%s%s",&a,&b);
^
user.cpp:19:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5005]’ [-Wformat=]
user.cpp:34:9: warning: variable ‘cn’ set but not used [-Wunused-but-set-variable]
int cn=n;
^
user.cpp:35:9: warning: variable ‘out’ set but not used [-Wunused-but-set-variable]
int out=0;
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vecini2.in","r",stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vecini2.out","w",stdout);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 280kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 276kb | Incorect | 0 |
Punctaj total | 0 |