Pagini recente » Borderou de evaluare (job #2007962) | Borderou de evaluare (job #1121593) | Borderou de evaluare (job #1288791) | Borderou de evaluare (job #1946554) | Borderou de evaluare (job #2079166)
Borderou de evaluare (job #2079166)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:52: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:55: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:103:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:107: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:108: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:110:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:117:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ", &c);
^
user.cpp:120: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:131: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 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |