Pagini recente » Borderou de evaluare (job #1496708) | Borderou de evaluare (job #533579) | Borderou de evaluare (job #1663791) | Borderou de evaluare (job #2455199) | Borderou de evaluare (job #2255504)
Borderou de evaluare (job #2255504)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:57: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable]
int Min1 = 2 * L + 1, Min2 = 2 * L + 1, p1, p2;
^~
user.cpp:60:61: warning: variable ‘p2’ set but not used [-Wunused-but-set-variable]
int Min1 = 2 * L + 1, Min2 = 2 * L + 1, p1, p2;
^~
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.in", "r", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.out", "w", stdout);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
user.cpp:84:13: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(p1 == p2){
^~
user.cpp:84:13: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:75:17: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(s[i] - 'a' == c){
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 1312kb | Incorect | 0 |
Punctaj total | 0 |