Pagini recente » Borderou de evaluare (job #2374253) | Borderou de evaluare (job #185634) | Borderou de evaluare (job #1793218) | Borderou de evaluare (job #1590540) | Borderou de evaluare (job #2079146)
Borderou de evaluare (job #2079146)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:71:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(cuv[i], N, stdin);
^
user.cpp: In function ‘int cautare(nod*, int, char*)’:
user.cpp:145:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:149:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fbsearch.in", "r", stdin);
^
user.cpp:150:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fbsearch.out", "w", stdout);
^
user.cpp:152:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:159:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ", &c);
^
user.cpp:162:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q, N, stdin);
^
user.cpp:174:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q, N, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 576ms | 120888kb | Incorect | 0 |
Punctaj total | 0 |