Pagini recente » Borderou de evaluare (job #3199413) | Borderou de evaluare (job #1760067) | Borderou de evaluare (job #3120902) | Borderou de evaluare (job #247955) | Borderou de evaluare (job #1684936)
Borderou de evaluare (job #1684936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:108:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < qry[i].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:98:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:102:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
/tmp/cc2xxr1N.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 | 216ms | 1740kb | Raspuns gresit! | 0 |
Punctaj total | 0 |