Pagini recente » Borderou de evaluare (job #1358955) | Borderou de evaluare (job #712918) | Borderou de evaluare (job #2213812) | Borderou de evaluare (job #1849423) | Borderou de evaluare (job #1770000)
Borderou de evaluare (job #1770000)
Raport evaluator
Compilare:
user.cpp: In function ‘int mod(int&)’:
user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void read()’:
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &k, &a, &b);
^
user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:54:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.in", "r", stdin);
^
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diviz.out", "w", stdout);
^
/tmp/ccoE4MoV.o: In function `read()':
user.cpp:(.text+0x5a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 536kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | 0ms | 484kb | OK | 10 |
6 | 32ms | 516kb | OK | 10 |
7 | 12ms | 520kb | OK | 10 |
8 | 12ms | 536kb | OK | 10 |
9 | 36ms | 600kb | OK | 10 |
10 | 136ms | 620kb | OK | 10 |
Punctaj total | 100 |