Pagini recente » Borderou de evaluare (job #1129648) | Borderou de evaluare (job #344319) | Borderou de evaluare (job #1058678) | Borderou de evaluare (job #3164954) | Borderou de evaluare (job #1408901)
Borderou de evaluare (job #1408901)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:88:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:90:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100100]’ [-Wformat=]
scanf("%s", &dr);
^
user.cpp:91:13: warning: unused variable ‘x’ [-Wunused-variable]
int x = strlen(s);
^
user.cpp:80:37: 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:39: 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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:88:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:90:25: 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 | 1004kb | Incorect | 0 |
Punctaj total | 0 |