Pagini recente » Borderou de evaluare (job #1733761) | Borderou de evaluare (job #1259972) | Borderou de evaluare (job #1551217) | Borderou de evaluare (job #1749489) | Borderou de evaluare (job #1407142)
Borderou de evaluare (job #1407142)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:34:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:35:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=]
scanf("%s", &st);
^
user.cpp:36: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:136: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:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &st);
^
user.cpp:36: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:133: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:134: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:136: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 | 3672kb | Time limit exceeded. | 0 |
Punctaj total | 0 |