Pagini recente » Cod sursa (job #60834) | Cod sursa (job #1827082) | Cod sursa (job #1141088) | Borderou de evaluare (job #1099056) | Borderou de evaluare (job #1910010)
Borderou de evaluare (job #1910010)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:110:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
char chr = NULL;
^
user.cpp:121:13: warning: unused variable ‘pos’ [-Wunused-variable]
int pos = 0;
^
user.cpp:92:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in", "r" , stdin);
^
user.cpp:93:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out", "w" , stdout);
^
user.cpp:95:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv1 + 1);
^
user.cpp:96:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv2 + 1);
^
user.cpp:108:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &Q); Q; --Q)
^
user.cpp:112:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &chr);
^
user.cpp:117:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &chr);
^
/tmp/ccpF5Gu5.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | 0ms | 472kb | OK | 10 |
6 | 4ms | 580kb | OK | 10 |
7 | 4ms | 508kb | OK | 10 |
8 | 16ms | 632kb | OK | 10 |
9 | 8ms | 568kb | OK | 10 |
10 | 0ms | 444kb | OK | 10 |
Punctaj total | 100 |