Pagini recente » Borderou de evaluare (job #3113483) | Borderou de evaluare (job #911452) | Borderou de evaluare (job #1416558) | Borderou de evaluare (job #1386371) | Borderou de evaluare (job #1407737)
Borderou de evaluare (job #1407737)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:88:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:90:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &dr);
^
user.cpp:91:7: warning: unused variable ‘x’ [-Wunused-variable]
int x = strlen(s);
^
user.cpp:80:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in", "r", stdin);
^
user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out", "w", stdout);
^
user.cpp:82:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:86:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:88:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:90:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 1000kb | Incorect | 0 |
Punctaj total | 0 |