Pagini recente » Borderou de evaluare (job #1717973) | Borderou de evaluare (job #2966620) | Borderou de evaluare (job #808148) | Borderou de evaluare (job #1270921) | Borderou de evaluare (job #1407191)
Borderou de evaluare (job #1407191)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:57:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:58:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:59: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:114: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:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:59: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:111: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:112: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:114: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 | 564ms | 3672kb | Incorect | 0 |
Punctaj total | 0 |