Pagini recente » Borderou de evaluare (job #392865) | Borderou de evaluare (job #955720) | Borderou de evaluare (job #1245824) | Borderou de evaluare (job #2040535) | Borderou de evaluare (job #1797551)
Borderou de evaluare (job #1797551)
Raport evaluator
Compilare:
user.cpp: In function ‘int getNr()’:
user.cpp:26:16: warning: unused variable ‘contor’ [-Wunused-variable]
int x = 0, contor = 0;
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:81:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz == d.size())
^
user.cpp:89:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < d.size(); ++i)
^
user.cpp:99:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < d.size(); ++i)
^
user.cpp: In function ‘void citire()’:
user.cpp:21:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buffer, 20000, stdin);
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.in", "r", stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %d ", &m, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 8ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 0ms | 452kb | OK | 10 |
6 | 0ms | 456kb | OK | 10 |
7 | 0ms | 452kb | OK | 10 |
8 | 0ms | 456kb | OK | 10 |
9 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 456kb | OK | 10 |
Punctaj total | 70 |