Pagini recente » Borderou de evaluare (job #1240537) | Borderou de evaluare (job #1706330) | Borderou de evaluare (job #2819228) | Borderou de evaluare (job #187606) | Borderou de evaluare (job #2718057)
Borderou de evaluare (job #2718057)
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 | 4ms | 131kb | Raspuns gresit! | 0 |
3 | 5ms | 131kb | Raspuns gresit! | 0 |
4 | 10ms | 131kb | Raspuns gresit! | 0 |
5 | 14ms | 131kb | Raspuns gresit! | 0 |
6 | 25ms | 131kb | Raspuns gresit! | 0 |
7 | 53ms | 131kb | Time limit exceeded | 0 |
8 | 53ms | 131kb | Time limit exceeded | 0 |
9 | 53ms | 131kb | Time limit exceeded | 0 |
10 | 53ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 0 |