Pagini recente » Borderou de evaluare (job #437500) | Borderou de evaluare (job #1596542) | Borderou de evaluare (job #159722) | Borderou de evaluare (job #2207085) | Borderou de evaluare (job #1845517)
Borderou de evaluare (job #1845517)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:39: 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);
^
user.cpp:14:41: 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);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ", &v[i]);
^
user.cpp:19:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:20:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n", &w);
^
/tmp/ccnSfOzX.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 100 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 492kb | OK | 10 |
6 | 4ms | 2032kb | OK | 10 |
7 | 20ms | 9048kb | OK | 10 |
8 | 24ms | 9052kb | OK | 10 |
9 | 20ms | 9052kb | OK | 10 |
10 | 20ms | 9052kb | OK | 10 |
Punctaj total | 100 |