Pagini recente » Borderou de evaluare (job #2524294) | Borderou de evaluare (job #2537877) | Borderou de evaluare (job #2186667) | Borderou de evaluare (job #3249878) | Borderou de evaluare (job #1440045)
Borderou de evaluare (job #1440045)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",solution);
^
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/cclzZ0MB.o: In function `main':
user.cpp:(.text.startup+0xa1): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | Fisier de iesire lipsa | 0 |
Punctaj total | 0 |