Pagini recente » Borderou de evaluare (job #1535285) | Borderou de evaluare (job #1331500) | Borderou de evaluare (job #3130916) | Borderou de evaluare (job #2146723) | Borderou de evaluare (job #2477224)
Borderou de evaluare (job #2477224)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:35: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; sum < w && s[i] != NULL; i++)
^~~~
main.cpp:37:16: warning: NULL used in arithmetic [-Wpointer-arith]
if(s[i] == NULL)
^~~~
main.cpp:45:14: warning: statement has no effect [-Wunused-value]
for(i; i >= 0 && sml < 3; i--)
^
main.cpp:18:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
main.cpp:19:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 100 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 17ms | 393kb | OK | 10 |
| 7 | 74ms | 1179kb | OK | 10 |
| 8 | 78ms | 1179kb | OK | 10 |
| 9 | 74ms | 1179kb | OK | 10 |
| 10 | 59ms | 1179kb | OK | 10 |
| Punctaj total | 100 |