Pagini recente » Borderou de evaluare (job #940752) | Borderou de evaluare (job #217326) | Borderou de evaluare (job #798215) | Borderou de evaluare (job #1612749) | Borderou de evaluare (job #1507345)
Borderou de evaluare (job #1507345)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluare()’:
user.cpp:76:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(x); i++)
^
user.cpp:71:10: warning: unused variable ‘tmp’ [-Wunused-variable]
char tmp[10];
^
user.cpp:74:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr = 0;
^
user.cpp: In function ‘int compareSign(char)’:
user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:151:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in", "r", stdin);
^
user.cpp:152:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out", "w", stdout);
^
user.cpp:154:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x);
^
/tmp/cc4IGFbw.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 400kb | Killed by signal 6(SIGABRT). | 0 |
3 | 0ms | 392kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 392kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 400kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 392kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 12ms | 404kb | Killed by signal 6(SIGABRT). | 0 |
9 | Depăşit | 368kb | Time limit exceeded. | 0 |
10 | Depăşit | 360kb | Time limit exceeded. | 0 |
Punctaj total | 10 |