Pagini recente » Borderou de evaluare (job #2049916) | Borderou de evaluare (job #2529677) | Borderou de evaluare (job #1631231) | Borderou de evaluare (job #989885) | Borderou de evaluare (job #2718049)
Borderou de evaluare (job #2718049)
Raport evaluator
Compilare:
main.cpp: In function 'int suma(int)':
main.cpp:56:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(t == 0)
^~
main.cpp:59:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return s%10;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:69:5: warning: variable 's' set but not used [-Wunused-but-set-variable]
int s = 0, t;
^
main.cpp:64:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in", "r" , stdin);
^
main.cpp:65:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Raspuns gresit! | 0 |
2 | 3ms | 131kb | Raspuns gresit! | 0 |
3 | 3ms | 131kb | Raspuns gresit! | 0 |
4 | 3ms | 131kb | Raspuns gresit! | 0 |
5 | 3ms | 131kb | Raspuns gresit! | 0 |
6 | 4ms | 131kb | Raspuns gresit! | 0 |
7 | 7ms | 131kb | Raspuns gresit! | 0 |
8 | 15ms | 131kb | Raspuns gresit! | 0 |
9 | 18ms | 131kb | Raspuns gresit! | 0 |
10 | 32ms | 262kb | Raspuns gresit! | 0 |
Punctaj total | 0 |