Pagini recente » Borderou de evaluare (job #2221242) | Borderou de evaluare (job #809136) | Borderou de evaluare (job #604094) | Borderou de evaluare (job #859072) | Borderou de evaluare (job #1598040)
Borderou de evaluare (job #1598040)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:62:13: warning: unused variable ‘mata’ [-Wunused-variable]
int mata = 5;
^
user.cpp: In function ‘int main()’:
user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invers.in","r",stdin);
^
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invers.out","w",stdout);
^
user.cpp:73:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &T); T ; --T)
^
user.cpp:75:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); n = strlen(s+1);
^
/tmp/ccd6eH09.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 0ms | 440kb | OK | 10 |
7 | 0ms | 444kb | OK | 10 |
8 | 0ms | 436kb | OK | 10 |
9 | 0ms | 440kb | OK | 10 |
10 | 4ms | 444kb | OK | 10 |
Punctaj total | 100 |