Pagini recente » Borderou de evaluare (job #1874816) | Borderou de evaluare (job #1130153) | Borderou de evaluare (job #220938) | Borderou de evaluare (job #2383362) | Borderou de evaluare (job #1407966)
Borderou de evaluare (job #1407966)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:60:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:61:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:62:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &dr);
^
user.cpp: In function ‘int main()’:
user.cpp:180:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i", &t);
^
user.cpp: In function ‘void solve()’:
user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:62:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &dr);
^
user.cpp: In function ‘int main()’:
user.cpp:177: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:178: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:180:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 536ms | 3696kb | Incorect | 0 |
Punctaj total | 0 |