Pagini recente » Borderou de evaluare (job #2707011) | Borderou de evaluare (job #35418) | Borderou de evaluare (job #397104) | Borderou de evaluare (job #908760) | Borderou de evaluare (job #1407079)
Borderou de evaluare (job #1407079)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:54:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:55:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:56: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:112: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:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:56: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:109: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:110: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:112: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 | Depăşit | 3660kb | Time limit exceeded. | 0 |
Punctaj total | 0 |