Pagini recente » Cod sursa (job #686501) | Cod sursa (job #45679) | Cod sursa (job #232181) | Statistici Vidru Rares (gifi) | Borderou de evaluare (job #1538613)
Borderou de evaluare (job #1538613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < strlen(S); i++)
^
user.cpp:57:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (k < strlen(S) - 1)
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.in","r",stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.out","w",stdout);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccOIcgwQ.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 5 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 4ms | 268kb | OK | 5 |
| 4 | Depăşit | 304kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 336kb | Time limit exceeded. | 0 |
| 6 | 0ms | 272kb | OK | 5 |
| 7 | 0ms | 272kb | OK | 5 |
| 8 | 0ms | 272kb | OK | 5 |
| 9 | 44ms | 284kb | OK | 5 |
| 10 | Depăşit | 284kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 344kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 312kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 332kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 308kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 320kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 328kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 348kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 340kb | Time limit exceeded. | 0 |
| 20 | 0ms | 268kb | OK | 5 |
| Punctaj total | 40 |