Pagini recente » Borderou de evaluare (job #508786) | Borderou de evaluare (job #1378207) | Borderou de evaluare (job #1840093) | Borderou de evaluare (job #2438707) | Borderou de evaluare (job #1409640)
Borderou de evaluare (job #1409640)
Raport evaluator
Compilare:
user.cpp: In function ‘int EcType()’:
user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(S) && i < 10; ++i)
^
user.cpp: In function ‘void Type_1()’:
user.cpp:77:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < strlen(S) )
^
user.cpp: In function ‘void Type_2()’:
user.cpp:105:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < strlen(S) )
^
user.cpp: In function ‘void Read()’:
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &T[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:140:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccr1bvbS.o: In function `main':
user.cpp:(.text.startup+0x38): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 12ms | 452kb | OK | 10 |
6 | 0ms | 292kb | Gresit! | 6 |
7 | 60ms | 920kb | OK | 10 |
8 | 92ms | 1268kb | OK | 10 |
9 | 4ms | 332kb | OK | 10 |
10 | 4ms | 332kb | OK | 10 |
Punctaj total | 96 |