Pagini recente » Cod sursa (job #70188) | Borderou de evaluare (job #1332030)
Borderou de evaluare (job #1332030)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:14:9: warning: unused variable ‘sol’ [-Wunused-variable]
int sol=0;
^
user.cpp: In function ‘void read()’:
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.in","r",stdin);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&N);
^
user.cpp:9:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp: In function ‘int main()’:
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fsb.out","w",stdout);
^
/tmp/ccRzDlFF.o: In function `read()':
user.cpp:(.text+0x44): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 356kb | Incorect | 0 |
5 | 0ms | 708kb | Incorect | 0 |
6 | 0ms | 1152kb | Incorect | 0 |
7 | 0ms | 1408kb | Incorect | 0 |
8 | 0ms | 1588kb | Incorect | 0 |
9 | 4ms | 1844kb | Incorect | 0 |
10 | 4ms | 2012kb | Incorect | 0 |
Punctaj total | 0 |