Pagini recente » Borderou de evaluare (job #2401712) | Borderou de evaluare (job #1690469) | Borderou de evaluare (job #1990211) | Borderou de evaluare (job #1844111) | Borderou de evaluare (job #1659560)
Borderou de evaluare (job #1659560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: 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:18:36: 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:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:23:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n"), gets (sir + 1), N = strlen (sir + 1);
^
user.cpp:23:55: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:44:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &Q);
^
user.cpp:46:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &qr[i].first, &qr[i].second.first), qr[i].second.second = i;
^
/tmp/ccSFqJut.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 200ms | 2172kb | Raspuns gresit! | 0 |
Punctaj total | 0 |