Pagini recente » Borderou de evaluare (job #2320359) | Borderou de evaluare (job #1893162) | Borderou de evaluare (job #879539) | Borderou de evaluare (job #770155) | Borderou de evaluare (job #1684954)
Borderou de evaluare (job #1684954)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:111:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < qry[N - i + 1].size(); j++)
^
user.cpp:65:13: warning: variable ‘lg’ set but not used [-Wunused-but-set-variable]
int lg = 0;
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.in", "r", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klsecv.out", "w", stdout);
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:61:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:100:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:104:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
/tmp/ccdrAqhG.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 240ms | 1744kb | OK! | 100 |
Punctaj total | 100 |