Pagini recente » Borderou de evaluare (job #2984816) | Borderou de evaluare (job #6772) | Borderou de evaluare (job #2530621) | Borderou de evaluare (job #1441431) | Borderou de evaluare (job #1439971)
Borderou de evaluare (job #1439971)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(text); ++i){
^
user.cpp:26:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T; --T){
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
user.cpp:32:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text);
^
/tmp/ccxReI88.o: In function `main':
user.cpp:(.text.startup+0xa4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1380kb | Time limit exceeded. | 0 |
Punctaj total | 0 |